From 9ea19db54b92271dbb753e9774d35596e2453114 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Tue, 26 Oct 2010 14:23:16 -0700 Subject: [PATCH] --- yaml --- r: 217591 b: refs/heads/master c: 03f1df7da5696ddfa6e167b37e0c0ce5aad3de79 h: refs/heads/master i: 217589: 9097f2c7064ee93bf15b41a72f1d2d67c5238596 217587: 3c554b45bf0b5c1b1f0a4f9b059b958e511ad71c 217583: 19b898afda33bc8c3c165d7653061c9ad1a4f8e5 v: v3 --- [refs] | 2 +- trunk/scripts/checkpatch.pl | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4624e72d8c8c..94b38e94e32e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3bf9a009fccea422bc355414a3bdf5f35fff9f36 +refs/heads/master: 03f1df7da5696ddfa6e167b37e0c0ce5aad3de79 diff --git a/trunk/scripts/checkpatch.pl b/trunk/scripts/checkpatch.pl index 93fa145671a0..c151c9e142ad 100755 --- a/trunk/scripts/checkpatch.pl +++ b/trunk/scripts/checkpatch.pl @@ -152,6 +152,20 @@ sub help { # We need \b after 'init' otherwise 'initconst' will cause a false positive in a check our $Attribute = qr{ const| + __percpu| + __nocast| + __safe| + __bitwise__| + __packed__| + __packed2__| + __naked| + __maybe_unused| + __always_unused| + __noreturn| + __used| + __cold| + __noclone| + __deprecated| __read_mostly| __kprobes| __(?:mem|cpu|dev|)(?:initdata|initconst|init\b)|