Re: [PATCH] scripts:checkpatch - correct the error message during

From: Joe Perches
Date: Thu Jun 04 2015 - 12:17:40 EST


On Thu, 2015-06-04 at 20:56 +0530, Shailendra Verma wrote:
> Signed-off-by: Shailendra Verma <shailendra.capricorn@xxxxxxxxx>

Please redo this using the most current version
from the linux-next tree.

> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
[]
> @@ -3169,21 +3169,21 @@ sub process {
> }
>
> # check for global initialisers.
> - if ($line =~ /^\+(\s*$Type\s*$Ident\s*(?:\s+$Modifier))*\s*=\s*(0|NULL|false)\s*;/) {
> + if ($line =~ /^\+(\s*$Type\s*$Ident\s*(?:\s+$Modifier))*\s*=\s*(0x0|0|NULL|false)\s*;/) {

This has changed.


--
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/