]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
.checkpatch.conf: add NEW_TYPEDEFS to ignore-list
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 14 Mar 2022 10:35:06 +0000 (16:05 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 16 Mar 2022 21:38:20 +0000 (15:38 -0600)
There are tools/files, that introduce new typdefs and checkpatch.pl is
unhappy about it. It takes some re-work on removing and for now let's
teach checkpatch to ignore it.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
.checkpatch.conf

index 43ac02876327c61515c07fba7792b092281bc5a8..c466644dbb671591455ba9aca003a5c1cddd9f50 100644 (file)
@@ -13,3 +13,7 @@
 
 # Kernel specific kstr* functions recommendation doesn't apply to us.
 --ignore SSCANF_TO_KSTRTO
+
+# Ignore new typedefs introduction warnings for now. We need to revisit files
+# introducing it and remove it.
+--ignore NEW_TYPEDEFS