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

From: Greg KH
Date: Tue Jan 10 2017 - 11:40:23 EST


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@xxxxxxxxx>
> Acked-by: Christian Gromm <christian.gromm@xxxxxxxxxxxxx>
> ---
> 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