public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] checkpatch: teach checkpatch about rcu
@ 2010-11-18 17:05 Michael S. Tsirkin
  2010-11-18 17:15 ` Eric Dumazet
  0 siblings, 1 reply; 3+ messages in thread
From: Michael S. Tsirkin @ 2010-11-18 17:05 UTC (permalink / raw)
  To: Andy Whitcroft, Andrew Morton, Joe Perches, Patrick Pannuto,
	Wolfram Sang, Hidetoshi Seto, linux-kernel

I got this:
+       struct kvm_kernel_irq_routing_entry __rcu *irq_entry;
which is because checkpatch does not know about __rcu.
So here's a patch to teach it about that tag.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 scripts/checkpatch.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2039acd..1b11c8e 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -143,6 +143,7 @@ our $Sparse	= qr{
 			__must_check|
 			__init_refok|
 			__kprobes|
+			__rcu|
 			__ref
 		}x;
 
-- 
1.7.3.2.91.g446ac

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

end of thread, other threads:[~2010-11-21  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18 17:05 [PATCH] checkpatch: teach checkpatch about rcu Michael S. Tsirkin
2010-11-18 17:15 ` Eric Dumazet
2010-11-21  8:31   ` Michael S. Tsirkin

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