Re: [PATCH] staging: skein: Fix checkpatch warnings

From: Joe Perches
Date: Thu Dec 25 2014 - 13:06:31 EST


On Thu, 2014-12-25 at 19:01 +0100, arno.tiemersma@xxxxxxxxx wrote:
> Remove do {} while (0) loops around single statements in
> skein/skein_block.c
[]
> diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c
[]
> @@ -83,9 +83,7 @@ do { \
> #else
> /* looping version */
> #define R256(p0, p1, p2, p3, ROT, r_num) \
> -do { \
> ROUND256(p0, p1, p2, p3, ROT, r_num); \

When you do these things, you also have to
remove the trailing semi-colon and the
line continuation '\' as well.


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