Re: [PATCH] usb: cdns3: Fixes for sparse warnings

2020-12-14 Thread gre...@linuxfoundation.org
On Mon, Dec 14, 2020 at 11:26:22AM +, David Laight wrote: > From: Pawel Laszczak > > Sent: 14 December 2020 11:05 > > > > Patch fixes the following warnings: > ... > > cdns3-ep0.c:367: sparse: warning: restricted __le16 degrades to integer > ... > > diff --git a/drivers/usb/cdns3/cdns3-ep0.c

RE: [PATCH] usb: cdns3: Fixes for sparse warnings

2020-12-14 Thread David Laight
From: Pawel Laszczak > Sent: 14 December 2020 11:05 > > Patch fixes the following warnings: ... > cdns3-ep0.c:367: sparse: warning: restricted __le16 degrades to integer ... > diff --git a/drivers/usb/cdns3/cdns3-ep0.c b/drivers/usb/cdns3/cdns3-ep0.c > index b0390fe9a396..9a17802275d5 100644 >

[PATCH] usb: cdns3: Fixes for sparse warnings

2020-12-14 Thread Pawel Laszczak
Patch fixes the following warnings: cdns3-gadget.c:1203: sparse: warning: incorrect type in assignment (different base types) cdns3-gadget.c:1203: sparse: expected restricted __le32 [usertype] length cdns3-gadget.c:1203: sparse: got unsigned long cdns3-gadget.c:1250: sparse: