]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: improve the STORAGE_CLASS test
authorJoe Perches <joe@perches.com>
Wed, 12 Jul 2017 21:37:02 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jul 2017 23:26:04 +0000 (16:26 -0700)
commit04b72ac88f15fca510c2a0a28fa8058860943b52
treebbd32af5df774f80235fefdf2c332ac8630021c4
parentf9bfc3a677215e626f5965301e9f22b345d54715
checkpatch: improve the STORAGE_CLASS test

Make sure static, extern, and asmlinkage appear before a specific type.

e.g.:
int asmlinkage foo(void)
is better written
       asmlinkage int foo(void)

Link: http://lkml.kernel.org/r/31704c96df2d5fd9df0b41165940a7a4feb16a63.1499284835.git.joe@perches.com
Signed-off-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