Commit 165e72a6 authored by Sven Eckelmann's avatar Sven Eckelmann Committed by Linus Torvalds
Browse files

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: default avatarSven Eckelmann <sven@narfation.org>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7d2367af
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -145,7 +145,8 @@ our $Sparse = qr{
			__must_check|
			__init_refok|
			__kprobes|
			__ref
			__ref|
			__rcu
		}x;

# Notes to $Attribute: