diff options
author | Sven Eckelmann <[email protected]> | 2011-07-25 17:13:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-07-25 20:57:16 -0700 |
commit | 165e72a6c374ed03c57d03c88406d32745e1add2 (patch) | |
tree | 6ca776305899b6187c8ecb7560e2e07a524cd163 | |
parent | 7d2367af0b09f8028dc5c1b1919bb82d141c2afb (diff) |
checkpatch: add __rcu as a sparse modifier
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 <[email protected]>
Cc: Andy Whitcroft <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-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 5ba62d8b5e52..63cca81b1105 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: |