[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220720192916.7564-1-gaoxin@cdjrlc.com>
Date: Thu, 21 Jul 2022 03:29:16 +0800
From: Xin Gao <gaoxin@...rlc.com>
To: richard@....at, anton.ivanov@...bridgegreys.com,
johannes@...solutions.net
Cc: axboe@...nel.dk, martin.petersen@...cle.com,
hoeppner@...ux.ibm.com, kch@...dia.com,
frederic.danis@...labora.com, mcgrof@...nel.org,
linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org,
Xin Gao <gaoxin@...rlc.com>
Subject: [PATCH] ubd:do not initialise statics to 0.
do not initialise statics to 0.
Signed-off-by: Xin Gao <gaoxin@...rlc.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
Powered by blists - more mailing lists