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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 26, 2015 at 12:04:10PM -0500, Benjamin Romer wrote:
> From: Erik Arfvidson <erik.arfvidson@xxxxxxxxxx>
> 
> This patch removes the pr_error messages so that my following
> patches build cleanly
> 
> Signed-off-by: Erik Arfvidson <erik.arfvidson@xxxxxxxxxx>
> Signed-off-by: Benjamin Romer <benjamin.romer@xxxxxxxxxx>
> ---
>  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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux