[PATCH 1/3] staging: unisys: remove pr_error from channel

Greg KH gregkh at linuxfoundation.org
Fri Feb 27 01:26:21 UTC 2015


On Thu, Feb 26, 2015 at 12:04:10PM -0500, Benjamin Romer wrote:
> From: Erik Arfvidson <erik.arfvidson at unisys.com>
> 
> This patch removes the pr_error messages so that my following
> patches build cleanly
> 
> Signed-off-by: Erik Arfvidson <erik.arfvidson at unisys.com>
> Signed-off-by: Benjamin Romer <benjamin.romer at unisys.com>
> ---
>  drivers/staging/unisys/common-spar/include/channels/channel.h | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h b/drivers/staging/unisys/common-spar/include/channels/channel.h
> index d3b01cb..653bcca 100644
> --- a/drivers/staging/unisys/common-spar/include/channels/channel.h
> +++ b/drivers/staging/unisys/common-spar/include/channels/channel.h
> @@ -313,9 +313,6 @@ spar_check_channel_client(void __iomem *ch,
>  				readq(&((struct channel_header __iomem *)
>  					(ch))->size);
>  		if (bytes < expected_min_bytes) {
> -			pr_err("Channel mismatch on channel=%s(%pUL) field=size expected=0x%-8.8Lx actual=0x%-8.8Lx\n",
> -			       chname, &expected_uuid,
> -			       (unsigned long long)expected_min_bytes, bytes);
>  			return 0;
>  		}

You should also remove the unneeded { }  here.

Same for the rest of the changes in this patch.

thanks,

greg k-h


More information about the devel mailing list