summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-10-10 12:46:55 +0300
committerIngo Molnar <mingo@kernel.org>2017-10-10 12:46:55 +0300
commitaf1a34f21150af199f066dfcccbae9830c9429aa (patch)
tree313267459418f7bba8510df45ce18d4b4133eb1b /scripts/checkpatch.pl
parent39208aa7ecb7d9c4e86df782b5693270313cbab1 (diff)
parentc7e2f69d3ed2e56de1f5eaaf37c0f5f91d7adb0a (diff)
downloadlinux-af1a34f21150af199f066dfcccbae9830c9429aa.tar.xz
Merge branch 'locking/urgent' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-xscripts/checkpatch.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index dd2c262aebbf..8b80bac055e4 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -6390,7 +6390,7 @@ sub process {
exit(0);
}
- if (!$is_patch && $file !~ /cover-letter\.patch$/) {
+ if (!$is_patch && $filename !~ /cover-letter\.patch$/) {
ERROR("NOT_UNIFIED_DIFF",
"Does not appear to be a unified-diff format patch\n");
}