Re: [PATCH v2] staging: skein: Remove all do{} while (0) loop from single statement.

From: Jason Cooper
Date: Mon Jan 12 2015 - 09:15:24 EST


On Sun, Jan 11, 2015 at 03:41:05PM -0800, Shirish Gajera wrote:
> This patch fixes the checkpatch.pl warning:
>
> WARNING: Single statement macros should not use a do {} while (0) loop
>
> I remove do while from the single statement macro.
>
> Signed-off-by: Shirish Gajera <gajerashirish@xxxxxxxxx>
> ---
> drivers/staging/skein/skein_block.c | 31 +++++++++----------------------
> 1 file changed, 9 insertions(+), 22 deletions(-)

Several people have submitted patches for this checkpatch warning.
Please check the mailinglist archives and deconflict with the other
submitters.

thx,

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