Re: [PATCH] checkpatch: Add uninitialized_var to the declaration_macro list
From: Joe Perches
Date: Mon Aug 04 2014 - 12:02:39 EST
On Mon, 2014-08-04 at 00:56 -0700, Joe Perches wrote:
> Using uninitialized_var reports a false positive for
> "Missing blank line after declarations".
[]
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> +our $declaration_macros = qr{(?x:
> + (?:$Storage\s+)?(?:DECLARE|DEFINE)_[A-Z]+\s*\(|
Hey Andrew.
Dotan showed some variants that could be added to this
line. Do you want it rolled into a V2 of this patch
or as a separate patch?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/