From 4b4de12c7e9e065b2bb1d9a35a045e23edd2a3de Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Mon, 7 Aug 2023 14:55:42 +0530 Subject: [PATCH] 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 --- .checkpatch.conf | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.47.2