提交 165e72a6 编写于 作者: S Sven Eckelmann 提交者: Linus Torvalds

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: NSven Eckelmann <sven@narfation.org>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 7d2367af
......@@ -145,7 +145,8 @@ our $Sparse = qr{
__must_check|
__init_refok|
__kprobes|
__ref
__ref|
__rcu
}x;
# Notes to $Attribute:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册