Skip to content

Commit

Permalink
checkpatch: add __rcu as a sparse modifier
Browse files Browse the repository at this point in the history
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 <sven@narfation.org>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Sven Eckelmann authored and Linus Torvalds committed Jul 26, 2011
1 parent 7d2367a commit 165e72a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ sub help {
__must_check|
__init_refok|
__kprobes|
__ref
__ref|
__rcu
}x;

# Notes to $Attribute:
Expand Down

0 comments on commit 165e72a

Please sign in to comment.