aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-08 12:15:50 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-11-08 12:15:50 +0100
commit4e37fd4d5dfd39f547b0b00fa184a440a1e44b96 (patch)
tree1f2a678cce5422703aa376ab3506f430d51f89da /scripts/checkpatch.pl
parentARM: cpuidle: Refactor rollback operations if init fails (diff)
parentPM / QoS: Fix device resume latency framework (diff)
downloadlinux-4e37fd4d5dfd39f547b0b00fa184a440a1e44b96.tar.gz
linux-4e37fd4d5dfd39f547b0b00fa184a440a1e44b96.zip
Merge branch 'pm-qos' into pm-cpuidle
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");
}