summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-08-07 03:11:31 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-07 05:01:29 +0400
commitf84223087402c45179be5e7060c5736c17a7b271 (patch)
tree98363ff18f61ff016970a110d49d27fb0b81399d /mm
parentece9659f16e369d344fe4325d87fab3bb50d1fe2 (diff)
downloadlinux-f84223087402c45179be5e7060c5736c17a7b271.tar.xz
checkpatch: update $declaration_macros, add uninitialized_var
Using uninitialized_var reports a false positive for "Missing blank line after declarations". Fix it by adding uninitialized_var to the $declaration_macros exceptions list. Move the macro list after $Type is declared. Add optional prefixes to DECLARE_<FOO> and DEFINE_<BAR> macro declarations to allow forms like: MLX4_DECLARE_DOORBELL_LOCK Signed-off-by: Joe Perches <joe@perches.com> Reported-by: Dotan Barak <dotanb@mellanox.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions