staging: most: change dma_buf variable to __le16
authorRamiro Oliveira <Ramiro.Oliveira@synopsys.com>
Tue, 3 Jan 2017 14:43:40 +0000 (14:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Jan 2017 17:48:03 +0000 (18:48 +0100)
commitcbe50fc4320788d3407ed55900fc0a63e172ad6f
tree61c323946785b65d08dd08048b25a8bf5d822f0e
parentc887e69d908fb1575bb6f861c0f4f2c1fb61eef1
staging: most: change dma_buf variable to __le16

dma_buf is being cast to __le16 *, but it was defined as u16 *.
sparse reported this error as:
drivers/staging/most/hdm-usb/hdm_usb.c:158:16: warning: cast to restricted
__le16

This patch changes dma_buf from u16 to __le16.

Signed-off-by: Ramiro Oliveira <Ramiro.Oliveira@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/hdm-usb/hdm_usb.c