* [PATCH] ubd:do not initialise statics to 0.
@ 2022-07-20 19:29 Xin Gao
2022-07-21 17:02 ` Chaitanya Kulkarni
0 siblings, 1 reply; 2+ messages in thread
From: Xin Gao @ 2022-07-20 19:29 UTC (permalink / raw)
To: richard, anton.ivanov, johannes
Cc: axboe, martin.petersen, hoeppner, kch, frederic.danis, mcgrof,
linux-um, linux-kernel, Xin Gao
do not initialise statics to 0.
Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
arch/um/drivers/ubd_kern.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index c4344b67628d..ae2fb671ba72 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -1555,7 +1555,7 @@ static void do_io(struct io_thread_req *req, struct io_desc *desc)
int kernel_fd = -1;
/* Only changed by the io thread. XXX: currently unused. */
-static int io_count = 0;
+static int io_count;
int io_thread(void *arg)
{
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ubd:do not initialise statics to 0.
2022-07-20 19:29 [PATCH] ubd:do not initialise statics to 0 Xin Gao
@ 2022-07-21 17:02 ` Chaitanya Kulkarni
0 siblings, 0 replies; 2+ messages in thread
From: Chaitanya Kulkarni @ 2022-07-21 17:02 UTC (permalink / raw)
To: Xin Gao, richard, anton.ivanov, johannes
Cc: axboe, martin.petersen, hoeppner, Chaitanya Kulkarni,
frederic.danis, mcgrof, linux-um, linux-kernel
On 7/20/2022 12:29 PM, Xin Gao wrote:
> do not initialise statics to 0.
>
> Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
> ---
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
-ck
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-21 17:02 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:29 [PATCH] ubd:do not initialise statics to 0 Xin Gao
2022-07-21 17:02 ` Chaitanya Kulkarni
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®