Linux USB
 help / color / mirror / Atom feed
* [PATCH 2/2] drivers: usb: musb: musb_gadget: replaced bare unsigned to unsigned int
@ 2023-06-06 10:29 Neel Chakraborty
  2023-06-06 10:33 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Neel Chakraborty @ 2023-06-06 10:29 UTC (permalink / raw)
  To: b-liu; +Cc: gregkh, linux-usb, linux-kernel, Neel Chakraborty

Replaced code that was using bare unsigned to use unsigned int

Signed-off-by: Neel Chakraborty <neelchakrabortykernelwork@gmail.com>
---
 drivers/usb/musb/musb_gadget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index 3cb7fc4c84ed..8912118883dc 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -521,7 +521,7 @@ static void rxstate(struct musb *musb, struct musb_request *req)
 	struct usb_request	*request = &req->request;
 	struct musb_ep		*musb_ep;
 	void __iomem		*epio = musb->endpoints[epnum].regs;
-	unsigned		len = 0;
+	unsigned int		len = 0;
 	u16			fifo_count;
 	u16			csr = musb_readw(epio, MUSB_RXCSR);
 	struct musb_hw_ep	*hw_ep = &musb->endpoints[epnum];
-- 
2.40.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-06 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 10:29 [PATCH 2/2] drivers: usb: musb: musb_gadget: replaced bare unsigned to unsigned int Neel Chakraborty
2023-06-06 10:33 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox