From: Xin Gao <gaoxin@cdjrlc.com>
To: richard@nod.at, anton.ivanov@cambridgegreys.com,
johannes@sipsolutions.net
Cc: axboe@kernel.dk, martin.petersen@oracle.com,
hoeppner@linux.ibm.com, kch@nvidia.com,
frederic.danis@collabora.com, mcgrof@kernel.org,
linux-um@lists.infradead.org, linux-kernel@vger.kernel.org,
Xin Gao <gaoxin@cdjrlc.com>
Subject: [PATCH] ubd:do not initialise statics to 0.
Date: Thu, 21 Jul 2022 03:29:16 +0800 [thread overview]
Message-ID: <20220720192916.7564-1-gaoxin@cdjrlc.com> (raw)
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
next reply other threads:[~2022-07-20 19:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-20 19:29 Xin Gao [this message]
2022-07-21 17:02 ` Chaitanya Kulkarni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220720192916.7564-1-gaoxin@cdjrlc.com \
--to=gaoxin@cdjrlc.com \
--cc=anton.ivanov@cambridgegreys.com \
--cc=axboe@kernel.dk \
--cc=frederic.danis@collabora.com \
--cc=hoeppner@linux.ibm.com \
--cc=johannes@sipsolutions.net \
--cc=kch@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=martin.petersen@oracle.com \
--cc=mcgrof@kernel.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®