* [merged] checkpatch-fix-ignoring-cover-letter-logic.patch removed from -mm tree
@ 2017-10-04 19:42 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-10-04 19:42 UTC (permalink / raw)
To: joe, mm-commits, shorne
The patch titled
Subject: checkpatch: fix ignoring cover-letter logic
has been removed from the -mm tree. Its filename was
checkpatch-fix-ignoring-cover-letter-logic.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Stafford Horne <shorne@gmail.com>
Subject: checkpatch: fix ignoring cover-letter logic
Currently running checkpatch on a directory with a cover-letter.patch
file reports the following error:
-----------------------------------------
patches/smp-v2/v2-0000-cover-letter.patch
-----------------------------------------
ERROR: Does not appear to be a unified-diff format patch
The logic to suppress the unified-diff check for cover letters is there
but is checking $file instead of $filename. Fix the variable to use the
correct one.
Link: http://lkml.kernel.org/r/20170909090406.31523-1-shorne@gmail.com
Signed-off-by: Stafford Horne <shorne@gmail.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN scripts/checkpatch.pl~checkpatch-fix-ignoring-cover-letter-logic scripts/checkpatch.pl
--- a/scripts/checkpatch.pl~checkpatch-fix-ignoring-cover-letter-logic
+++ a/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");
}
_
Patches currently in -mm which might be from shorne@gmail.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-04 19:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-04 19:42 [merged] checkpatch-fix-ignoring-cover-letter-logic.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).