aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2009-02-27 17:03:08 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-27 19:26:22 -0500
commit417495eda3ce50f9c6d28f8e9ddb3bbb25f07f4c (patch)
treef93d85862f5d97224b3541ec5e5d7998f3351c02 /scripts
parent9360b0e50e9f3e0fd70a077b4ede9885ebc21720 (diff)
checkpatch: add __ref as a sparse modifier
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 0dcfdce632b1..60ad8dbd79e1 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -110,7 +110,8 @@ our $Sparse = qr{
110 __iomem| 110 __iomem|
111 __must_check| 111 __must_check|
112 __init_refok| 112 __init_refok|
113 __kprobes 113 __kprobes|
114 __ref
114 }x; 115 }x;
115our $Attribute = qr{ 116our $Attribute = qr{
116 const| 117 const|