From: Sven Eckelmann Date: Tue, 26 Jul 2011 00:13:23 +0000 (-0700) Subject: checkpatch: add __rcu as a sparse modifier X-Git-Tag: v3.1-rc1~241^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=165e72a6c374ed03c57d03c88406d32745e1add2;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git checkpatch: add __rcu as a sparse modifier Fix "need consistent spacing around '*'" error after a __rcu sparse annotation which was caused by the missing __rcu entry in the checkpatch.pl internal list of sparse keywords. Signed-off-by: Sven Eckelmann Cc: Andy Whitcroft Cc: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 5ba62d8..63cca81 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -145,7 +145,8 @@ our $Sparse = qr{ __must_check| __init_refok| __kprobes| - __ref + __ref| + __rcu }x; # Notes to $Attribute: