* [PATCH] usb: musb: use true for 'use_dma'
@ 2020-04-26 9:41 Jason Yan
2020-05-20 2:38 ` Bin Liu
0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-26 9:41 UTC (permalink / raw)
To: b-liu, gregkh, tony, linux-usb, linux-kernel; +Cc: Jason Yan
Fix the following coccicheck warning:
drivers/usb/musb/musb_core.c:1798:12-19: WARNING: Assignment of 0/1 to
bool variable
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
drivers/usb/musb/musb_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index d590110539ab..a0eba889ec61 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1795,7 +1795,7 @@ irqreturn_t musb_interrupt(struct musb *musb)
EXPORT_SYMBOL_GPL(musb_interrupt);
#ifndef CONFIG_MUSB_PIO_ONLY
-static bool use_dma = 1;
+static bool use_dma = true;
/* "modprobe ... use_dma=0" etc */
module_param(use_dma, bool, 0644);
--
2.21.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: musb: use true for 'use_dma'
2020-04-26 9:41 [PATCH] usb: musb: use true for 'use_dma' Jason Yan
@ 2020-05-20 2:38 ` Bin Liu
0 siblings, 0 replies; 2+ messages in thread
From: Bin Liu @ 2020-05-20 2:38 UTC (permalink / raw)
To: Jason Yan; +Cc: gregkh, tony, linux-usb, linux-kernel
On Sun, Apr 26, 2020 at 05:41:30PM +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
>
> drivers/usb/musb/musb_core.c:1798:12-19: WARNING: Assignment of 0/1 to
> bool variable
>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
Queued for v5.8. Thanks.
-Bin.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-20 2:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 9:41 [PATCH] usb: musb: use true for 'use_dma' Jason Yan
2020-05-20 2:38 ` Bin Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.