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

Joe Perches
2014-12-25T18:06:28Z

On Thu, 2014-12-25 at 19:01 +0100, arno.tiemersma@gmail.com 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.