Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186303
b: refs/heads/master
c: 5213129
h: refs/heads/master
i:
  186301: 2c78593
  186299: 4763df1
  186295: 3392797
  186287: e412dca
  186271: f58a043
  186239: a58d2b3
v: v3
  • Loading branch information
Wolfram Sang authored and Linus Torvalds committed Mar 6, 2010
1 parent f5a6d16 commit 4cc6a77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 691e669ba8c64d31ac08d87b1751e6acfa3ff65e
refs/heads/master: 52131292c069b74f4b5f3c786ff66ff6e82b0e69
5 changes: 4 additions & 1 deletion trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,14 @@ sub help {
__kprobes|
__ref
}x;

# Notes to $Attribute:
# We need \b after 'init' otherwise 'initconst' will cause a false positive in a check
our $Attribute = qr{
const|
__read_mostly|
__kprobes|
__(?:mem|cpu|dev|)(?:initdata|init)|
__(?:mem|cpu|dev|)(?:initdata|initconst|init\b)|
____cacheline_aligned|
____cacheline_aligned_in_smp|
____cacheline_internodealigned_in_smp|
Expand Down

0 comments on commit 4cc6a77

Please sign in to comment.