]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn on embedded function names
authorJoe Perches <joe@perches.com>
Fri, 24 Feb 2017 23:01:28 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 25 Feb 2017 01:46:57 +0000 (17:46 -0800)
commit3a0751d402f9f519361fad8c9d89a6abb289643a
tree329fa6ec74b1da33d032cdc1c7a90187fd8196f2
parentf24c040073caf7b9653bcdb08a97feea3879e0ad
checkpatch: warn on embedded function names

Embedded function names are less appropriate to use when refactoring can
cause function renaming.  Prefer the use of "%s", __func__ to embedded
function names.

Link: http://lkml.kernel.org/r/ac9631fdbac5af3507c5bfe88ad9064f0ed764ec.1483510416.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl