diff options
| author | 2019-10-15 16:30:17 +0100 | |
|---|---|---|
| committer | 2019-10-27 08:58:44 +0200 | |
| commit | e92f30ac37d12756aeb733538ad85df2be7e139f (patch) | |
| tree | 3cf321fc88e7739b2a6248447aaff0b532c93fc0 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | usb: renesas_usbhs: Fix warnings in usbhsg_recip_handler_std_set_device() (diff) | |
| download | linux-dev-e92f30ac37d12756aeb733538ad85df2be7e139f.tar.xz linux-dev-e92f30ac37d12756aeb733538ad85df2be7e139f.zip | |
usb: renesas_usbhs: fix type of buf
Fix the type of buf in __usbhsg_recip_send_status to
be __le16 to avoid the following sparse warning:
drivers/usb/renesas_usbhs/mod_gadget.c:335:14: warning: incorrect type in assignment (different base types)
drivers/usb/renesas_usbhs/mod_gadget.c:335:14: expected unsigned short
drivers/usb/renesas_usbhs/mod_gadget.c:335:14: got restricted __le16 [usertype]
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
