]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
checkpatch: add __ref as a sparse modifier
authorAndy Whitcroft <apw@canonical.com>
Fri, 27 Feb 2009 22:03:08 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Feb 2009 00:26:22 +0000 (16:26 -0800)
Add __ref as a sparse modifier.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl

index 0dcfdce632b15a2cd3f3eaaf1ff32c755a4561e1..60ad8dbd79e15a18ad5faabb6857e1dfd25808fc 100755 (executable)
@@ -110,7 +110,8 @@ our $Sparse = qr{
                        __iomem|
                        __must_check|
                        __init_refok|
-                       __kprobes
+                       __kprobes|
+                       __ref
                }x;
 our $Attribute = qr{
                        const|