From: Joe Perches Date: Wed, 6 Aug 2014 23:11:31 +0000 (-0700) Subject: checkpatch: update $declaration_macros, add uninitialized_var X-Git-Tag: cleanup-for-v3.18~96^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f84223087402c45179be5e7060c5736c17a7b271;p=pandora-kernel.git 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_ and DEFINE_ macro declarations to allow forms like: MLX4_DECLARE_DOORBELL_LOCK Signed-off-by: Joe Perches Reported-by: Dotan Barak Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed