[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <TYAPR01MB45444200737D0CAB2DC7873FD8920@TYAPR01MB4544.jpnprd01.prod.outlook.com>
Date: Wed, 16 Oct 2019 02:33:52 +0000
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
To: "Ben Dooks (Codethink)" <ben.dooks@...ethink.co.uk>,
"linux-kernel@...ts.codethink.co.uk"
<linux-kernel@...ts.codethink.co.uk>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] usb: renesas_usbhs: fix type of buf
Hi Ben,
> From: Ben Dooks (Codethink), Sent: Wednesday, October 16, 2019 12:30 AM
>
> 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]
>
> Signed-off-by: Ben Dooks <ben.dooks@...ethink.co.uk>
Thank you for the patch!
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
I also found a parse warning in the usbhsg_recip_handler_std_set_device().
So, I'll make a patch to fix the warning.
Best regards,
Yoshihiro Shimoda
Powered by blists - more mailing lists