Commit 165e72a6c374ed03c57d03c88406d32745e1add2

Authored by Sven Eckelmann
Committed by Linus Torvalds
1 parent 7d2367af0b

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 <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>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

scripts/checkpatch.pl
... ... @@ -145,7 +145,8 @@
145 145 __must_check|
146 146 __init_refok|
147 147 __kprobes|
148   - __ref
  148 + __ref|
  149 + __rcu
149 150 }x;
150 151  
151 152 # Notes to $Attribute: