aboutsummaryrefslogtreecommitdiff
path: root/drivers/hid/hid-led.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda2019-10-16 13:38:28 +0900
committerFelipe Balbi2019-10-27 08:58:44 +0200
commitef48aacf860bc0bf24a0e9afee1f1a12cebf1155 (patch)
treec626725bc91b51fe1851cf85bd31c2f66e424d72 /drivers/hid/hid-led.c
parent2457b2c1b44eeb022308bd524b34fa9b3ac3da11 (diff)
usb: gadget: udc: renesas_usb3: Fix __le16 warnings
This patch fixes the following sparse warnings by using a macro and a suitable variable type. drivers/usb/gadget/udc/renesas_usb3.c:1547:17: warning: restricted __le16 degrades to integer drivers/usb/gadget/udc/renesas_usb3.c:1550:43: warning: incorrect type in argument 2 (different base types) drivers/usb/gadget/udc/renesas_usb3.c:1550:43: expected unsigned short [usertype] addr drivers/usb/gadget/udc/renesas_usb3.c:1550:43: got restricted __le16 [usertype] wValue drivers/usb/gadget/udc/renesas_usb3.c:1607:24: warning: incorrect type in assignment (different base types) drivers/usb/gadget/udc/renesas_usb3.c:1607:24: expected unsigned short [assigned] [usertype] status drivers/usb/gadget/udc/renesas_usb3.c:1607:24: got restricted __le16 [usertype] drivers/usb/gadget/udc/renesas_usb3.c:1775:17: warning: restricted __le16 degrades to integer Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/hid/hid-led.c')
0 files changed, 0 insertions, 0 deletions