[PATCH 1/4] staging: unisys: remove do{} while(0) in channel.h

Dan Carpenter dan.carpenter at oracle.com
Mon Aug 18 16:19:53 UTC 2014


On Mon, Aug 18, 2014 at 09:21:43AM -0400, Benjamin Romer wrote:
>  #define CHANNEL_GUID_MISMATCH(chType, chName, field, expected, actual, fil, \
>  			      lin, logCtx)				\
> -	do {								\
> +	{								\
>  		pr_err("Channel mismatch on channel=%s(%pUL) field=%s expected=%pUL actual=%pUL @%s:%d\n", \
>  		       chName, &chType, field,	\
>  		       &expected, &actual, \
>  		       fil, lin);					\

Adjust this line as well.  Remove the ';' and the '\'.

Same for everything.

regards,
dan carpenter

> -	} while (0)
> +	}



More information about the devel mailing list