From: Kamalesh Babulal Date: Mon, 7 Aug 2023 09:25:42 +0000 (+0530) Subject: checkpatch.conf: add more ignore types for str*() X-Git-Tag: v3.2.0~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b4de12c7e9e065b2bb1d9a35a045e23edd2a3de;p=thirdparty%2Flibcgroup.git checkpatch.conf: add more ignore types for str*() 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 Signed-off-by: Tom Hromatka --- diff --git a/.checkpatch.conf b/.checkpatch.conf index 5350de6b..765016c6 100644 --- a/.checkpatch.conf +++ b/.checkpatch.conf @@ -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