mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] checkpatch: add __rcu as a sparse modifier
@ 2011-05-08  9:54 Sven Eckelmann
  2011-05-08 18:43 ` Eric Dumazet
  2011-05-30  8:22 ` [PATCH-resend] " Sven Eckelmann
  0 siblings, 2 replies; 3+ messages in thread
From: Sven Eckelmann @ 2011-05-08  9:54 UTC (permalink / raw)
  To: apw; +Cc: linux-kernel, Sven Eckelmann

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 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.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] checkpatch: add __rcu as a sparse modifier
  2011-05-08  9:54 [PATCH] checkpatch: add __rcu as a sparse modifier Sven Eckelmann
@ 2011-05-08 18:43 ` Eric Dumazet
  2011-05-30  8:22 ` [PATCH-resend] " Sven Eckelmann
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Dumazet @ 2011-05-08 18:43 UTC (permalink / raw)
  To: Sven Eckelmann; +Cc: apw, linux-kernel

Le dimanche 08 mai 2011 à 11:54 +0200, Sven Eckelmann a écrit :
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  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:

Acked-by: Eric Dumazet <eric.dumazet@gmail.com>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH-resend] checkpatch: add __rcu as a sparse modifier
  2011-05-08  9:54 [PATCH] checkpatch: add __rcu as a sparse modifier Sven Eckelmann
  2011-05-08 18:43 ` Eric Dumazet
@ 2011-05-30  8:22 ` Sven Eckelmann
  1 sibling, 0 replies; 3+ messages in thread
From: Sven Eckelmann @ 2011-05-30  8:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Sven Eckelmann, Andy Whitcroft

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-05-30  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-08  9:54 [PATCH] checkpatch: add __rcu as a sparse modifier Sven Eckelmann
2011-05-08 18:43 ` Eric Dumazet
2011-05-30  8:22 ` [PATCH-resend] " Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®