summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-10-10 15:43:32 -0700
committerTony Lindgren <tony@atomide.com>2013-10-10 15:43:32 -0700
commitf1ca2218881eee7a6f7c9659b837a4c412f8fd06 (patch)
treed7a0c9fd32fcba2b523d55799533bc835d4c7ac9 /scripts
parent68a531a1dec12708817552dad4eefc5968dd333f (diff)
parentdc7743aa3c49fabbc6dc9edbcf7df74d776ac32e (diff)
Merge tag 'pinctrl-single-for-linus-for-v3.13-signed' into omap-for-v3.13/quirk
Changes to pinctrl-single to allow handling the wake-up interrupts that most omaps have in each pinctrl register. As I need these merged also into the omap tree, it was agreed that I set them up into a separate branch for both pinctrl tree and linux-omap tree to merge as needed.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/checkpatch.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 47016c304c84..66cad506b8a2 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3975,8 +3975,8 @@ sub string_find_replace {
# check for new externs in .h files.
if ($realfile =~ /\.h$/ &&
$line =~ /^\+\s*(extern\s+)$Type\s*$Ident\s*\(/s) {
- if (WARN("AVOID_EXTERNS",
- "extern prototypes should be avoided in .h files\n" . $herecurr) &&
+ if (CHK("AVOID_EXTERNS",
+ "extern prototypes should be avoided in .h files\n" . $herecurr) &&
$fix) {
$fixed[$linenr - 1] =~ s/(.*)\bextern\b\s*(.*)/$1$2/;
}