Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346421
b: refs/heads/master
c: 88982fe
h: refs/heads/master
i:
  346419: d41389a
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Dec 18, 2012
1 parent 6b4fdaf commit 064d143
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0979ae66464bd9793c6701861bccb21f9f118a52
refs/heads/master: 88982fea52d0115d44b77619afef576f24cdb844
6 changes: 6 additions & 0 deletions trunk/scripts/checkpatch.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3336,6 +3336,12 @@ sub process {
"Avoid line continuations in quoted strings\n" . $herecurr);
}

# check for struct spinlock declarations
if ($line =~ /^.\s*\bstruct\s+spinlock\s+\w+\s*;/) {
WARN("USE_SPINLOCK_T",
"struct spinlock should be spinlock_t\n" . $herecurr);
}

# Check for misused memsets
if ($^V && $^V ge 5.10.0 &&
defined $stat &&
Expand Down

0 comments on commit 064d143

Please sign in to comment.