[PATCH] staging: most: hdm-usb: Fix sparse warning cast to restricted __le16

Greg KH gregkh at linuxfoundation.org
Tue Jan 10 16:40:39 UTC 2017


On Mon, Jan 09, 2017 at 09:25:56PM -0600, Eric Salem wrote:
> Fixed the following sparse warning:
> 
> drivers/staging/most/hdm-usb/hdm_usb.c:158:16: warning:
> cast to restricted __le16
> 
> by correcting the variable's type (also updated sizeof).
> 
> Signed-off-by: Eric Salem <ericsalem at gmail.com>
> Acked-by: Christian Gromm <christian.gromm at microchip.com>
> ---
>  drivers/staging/most/hdm-usb/hdm_usb.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

This patch doesn't apply against linux-next, can you refresh it and
resend?

thanks,

greg k-h


More information about the devel mailing list