]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
checkpatch.conf: add more ignore types for str*()
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 7 Aug 2023 09:25:42 +0000 (14:55 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 7 Aug 2023 15:32:25 +0000 (09:32 -0600)
Teach checkpatch.conf to ignore str*() warnings, the checkpatch.pl warns
about the replacement, functions are specific to Kernel land.

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

index 5350de6b300cd45d1c00dbec67042c95d752c88b..765016c6afd39ab3bfd9cc47ecec236426cce6c9 100644 (file)
@@ -17,3 +17,8 @@
 # Ignore new typedefs introduction warnings for now. We need to revisit files
 # introducing it and remove it.
 --ignore NEW_TYPEDEFS
+
+
+# Ignore Kernel str* function recommendations
+--ignore STRCPY
+--ignore STRNCPY