Skip to content
Commit cbe50fc4 authored by Ramiro Oliveira's avatar Ramiro Oliveira Committed by Greg Kroah-Hartman
Browse files

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: default avatarRamiro Oliveira <Ramiro.Oliveira@synopsys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c887e69d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment