checkpatch-support-function-pointers-for-unnamed-function-definition-arguments.patch removed from -mm tree
The patch titled
Subject: checkpatch: support function pointers for unnamed function definition arguments
has been removed from the -mm tree. Its filename was
checkpatch-support-function-pointers-for-unnamed-function-definition-arguments.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Miles Chen <[email protected]>
Subject: checkpatch: support function pointers for unnamed function definition arguments
Current unnamed function definition argument does not include function pointer cases and it reports something like:
WARNING: function definition argument 'void' should also have an identifier name +unsigned int (*dummy)(void);
Support function pointers for unnamed function arguments
---
scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/checkpatch.pl renamed from scripts/checkpatch.pl~checkpatch-support-function-pointers-for-unnamed-function-definition-arguments +1 -1
@@ -5957,7 +5957,7 @@ sub process { # check for function declarations that have arguments without identifier names if (defined $stat && - $stat =~ /^.\s*(?:extern\s+)?$Type\s*$Ident\s*\(\s*([^{]+)\s*\)\s*;/s && + $stat =~ /^.\s*(?:extern\s+)?$Type\s*(?:$Ident|\(\s*\*\s*$Ident\s*\))\s*\(\s*([^{]+)\s*\)\s*;/s && $1 ne "void") { my $args = trim($1); while ($args =~ m/\s*($Type\s*(?:$Ident|\(\s*\*\s*$Ident?\s*\)\s*$balanced_parens)?)/g) {
_
Patches currently in -mm which might be from [email protected] are