-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scripts/checkpatch.pl: some improvements to reduce false positives
- camelcase is OK for printk inttypes.h; - strncpy is OK; - accept up to 120 chars on lines without warnings; - stop complaining about "BACKTRACE=" strings split on multiple lines; - remove PREFER_DEFINED_ATTRIBUTE_MACRO, as this is kernel-specific; - remove MACRO_ARG_REUSE, as this applies mostly to multithreading; - don't warn on using do{} while(0) with single line statements; Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters