]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: support function pointers for unnamed function definition arguments
authorMiles Chen <miles.chen@mediatek.com>
Fri, 17 Nov 2017 23:28:34 +0000 (15:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:02 +0000 (16:10 -0800)
commit2fc650cfc5e329eaa00e13b543f483fc444d82e5
tree60fa25852eddc17e4be90c5d50d24a7153a00832
parentfbef8efb1d21cc357db920d7a18dcf62e9f7ccef
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

Link: http://lkml.kernel.org/r/1505389925-31087-1-git-send-email-miles.chen@mediatek.com
Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl