Skip to contentSkip to conversation

checkpatch-add-tests-for-function-pointer-style-misuses-fix.patch removed from -mm tree

to-be-updated [email protected] 1 participant 1 message Jan 7, 2014 Checkpatch

lore
Share & tools
lore
#0 lore raw

Subject: [to-be-updated] checkpatch-add-tests-for-function-pointer-style-misuses-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 07 Jan 2014 15:21:12 -0800

The patch titled
Subject: checkpatch-add-tests-for-function-pointer-style-misuses-fix
has been removed from the -mm tree. Its filename was
checkpatch-add-tests-for-function-pointer-style-misuses-fix.patch

This patch was dropped because an updated version will be merged

------------------------------------------------------
From: Josh Triplett <[email protected]>
Subject: checkpatch-add-tests-for-function-pointer-style-misuses-fix

Fix an ambiguity in one warning message and a copy/paste problem in another.

---

 scripts/checkpatch.pl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-add-tests-for-function-pointer-style-misuses-fix +2 -2
diff -puN scripts/checkpatch.pl~checkpatch-add-tests-for-function-pointer-style-misuses-fix scripts/checkpatch.pl
@@ -2827,7 +2827,7 @@ sub process {
 			if (defined $pre_pointer_space &&
 			    $pre_pointer_space =~ /^\s/) {
 				WARN("SPACING",
-				     "Unnecessary space after function pointer open parenthesis\n" . $herecurr);
+				     "Unnecessary space between open parenthesis and '*' in function pointer declaration\n" . $herecurr);
 			}
 
 # unnecessary space "type (* funcptr)(args...)"
@@ -2848,7 +2848,7 @@ sub process {
 			if (defined $pre_args_space &&
 			    $pre_args_space =~ /^\s/) {
 				WARN("SPACING",
-				     "Unnecessary space before function pointer name\n" . $herecurr);
+				     "Unnecessary space before function pointer argument list\n" . $herecurr);
 			}
 
 			if (show_type("SPACING") && $fix) {

_

Patches currently in -mm which might be from [email protected] are

checkpatch-more-comprehensive-split-strings-warning.patch checkpatch-add-a-fix-inplace-option.patch checkpatch-improve-space-before-tab-fix-option.patch checkpatch-check-for-ifs-with-unnecessary-parentheses.patch checkpatch-update-the-fsf-gpl-address-check.patch coredump-set_dumpable-fix-the-theoretical-race-with-itself.patch coredump-kill-mmf_dumpable-and-mmf_dump_securely.patch coredump-make-__get_dumpable-get_dumpable-inline-kill-fs-coredumph.patch linux-next.patch