diff options
author | Andy Whitcroft <apw@canonical.com> | 2009-02-27 23:03:08 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-28 01:26:22 +0100 |
commit | 417495eda3ce50f9c6d28f8e9ddb3bbb25f07f4c (patch) | |
tree | f93d85862f5d97224b3541ec5e5d7998f3351c02 /scripts | |
parent | checkpatch: extend attribute testing to all modifiers (diff) | |
download | linux-417495eda3ce50f9c6d28f8e9ddb3bbb25f07f4c.tar.xz linux-417495eda3ce50f9c6d28f8e9ddb3bbb25f07f4c.zip |
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-x | scripts/checkpatch.pl | 3 |
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{ __iomem| __must_check| __init_refok| - __kprobes + __kprobes| + __ref }x; our $Attribute = qr{ const| |