* [PATCH] usb: musb: tusb6010: fix a possible missing data type replacement
@ 2020-01-21 10:47 Macpaul Lin
2020-03-09 17:26 ` Bin Liu
0 siblings, 1 reply; 2+ messages in thread
From: Macpaul Lin @ 2020-01-21 10:47 UTC (permalink / raw)
To: Bin Liu, Greg Kroah-Hartman, linux-usb, linux-kernel, Min.Guo,
Chunfeng.Yun
Cc: Mediatek WSD Upstream, Macpaul Lin, linux-arm-kernel, linux-mediatek
Replace "unsigned" to "u32" for checkpatch fix to tusb_writeb().
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
drivers/usb/musb/tusb6010.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
index 5d449089e3ad..99890d1bbfcb 100644
--- a/drivers/usb/musb/tusb6010.c
+++ b/drivers/usb/musb/tusb6010.c
@@ -156,7 +156,7 @@ static u8 tusb_readb(void __iomem *addr, u32 offset)
return val;
}
-static void tusb_writeb(void __iomem *addr, unsigned offset, u8 data)
+static void tusb_writeb(void __iomem *addr, u32 offset, u8 data)
{
u16 tmp;
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: musb: tusb6010: fix a possible missing data type replacement
2020-01-21 10:47 [PATCH] usb: musb: tusb6010: fix a possible missing data type replacement Macpaul Lin
@ 2020-03-09 17:26 ` Bin Liu
0 siblings, 0 replies; 2+ messages in thread
From: Bin Liu @ 2020-03-09 17:26 UTC (permalink / raw)
To: Macpaul Lin
Cc: Greg Kroah-Hartman, linux-usb, linux-kernel, Min.Guo,
Chunfeng.Yun, Mediatek WSD Upstream, linux-arm-kernel,
linux-mediatek
On Tue, Jan 21, 2020 at 06:47:50PM +0800, Macpaul Lin wrote:
> Replace "unsigned" to "u32" for checkpatch fix to tusb_writeb().
>
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Queued for v5.7. Thanks.
-Bin.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-09 17:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 10:47 [PATCH] usb: musb: tusb6010: fix a possible missing data type replacement Macpaul Lin
2020-03-09 17:26 ` Bin Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).