lkml.org 
[lkml]   [2011]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH-resend] checkpatch: add __rcu as a sparse modifier
Date
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>
---
I reported that problem 2 1/2 months ago and then send the patch 3 weeks
ago, but never got a reaction. Therefore I resend the patch to Andrew
Morton instead of Andy Whitcroft. He seems to have been responsible for
the last checkpatch.pl-patches.

Btw. thanks Eric Dumazet for the Acked-by.

scripts/checkpatch.pl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index d867081..9dc3800 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:
--
1.7.5.3


\
 
 \ /
  Last update: 2011-05-30 10:25    [W:2.634 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site