* [PATCH] USB:do not initialise statics to 0.
@ 2022-07-20 19:48 Xin Gao
2022-07-20 20:34 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Xin Gao @ 2022-07-20 19:48 UTC (permalink / raw)
To: balbi; +Cc: gregkh, linux-usb, linux-kernel, Xin Gao
do not initialise statics to 0.
Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
drivers/usb/gadget/legacy/zero.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/legacy/zero.c b/drivers/usb/gadget/legacy/zero.c
index 23312a07efb4..c5f6d496064b 100644
--- a/drivers/usb/gadget/legacy/zero.c
+++ b/drivers/usb/gadget/legacy/zero.c
@@ -56,7 +56,7 @@ static const char longname[] = "Gadget Zero";
* work better with hosts where config changes are problematic or
* controllers (like original superh) that only support one config.
*/
-static bool loopdefault = 0;
+static bool loopdefault;
module_param(loopdefault, bool, S_IRUGO|S_IWUSR);
static struct usb_zero_options gzero_options = {
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] USB:do not initialise statics to 0.
2022-07-20 19:48 [PATCH] USB:do not initialise statics to 0 Xin Gao
@ 2022-07-20 20:34 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2022-07-20 20:34 UTC (permalink / raw)
To: Xin Gao; +Cc: balbi, linux-usb, linux-kernel
On Thu, Jul 21, 2022 at 03:48:08AM +0800, Xin Gao wrote:
> do not initialise statics to 0.
Why not?
You need to be very specific in changelog texts please.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-20 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20 19:48 [PATCH] USB:do not initialise statics to 0 Xin Gao
2022-07-20 20:34 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®