[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220720193643.8081-1-gaoxin@cdjrlc.com>
Date: Thu, 21 Jul 2022 03:36:43 +0800
From: Xin Gao <gaoxin@...rlc.com>
To: richard@....at, anton.ivanov@...bridgegreys.com,
johannes@...solutions.net
Cc: linux-um@...ts.infradead.org, linux-kernel@...r.kernel.org,
Xin Gao <gaoxin@...rlc.com>
Subject: [PATCH] um:do not initialise statics to 0.
do not initialise statics to 0.
Signed-off-by: Xin Gao <gaoxin@...rlc.com>
---
arch/um/drivers/stdio_console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c
index e8b762f4d8c2..e0f7543ef499 100644
--- a/arch/um/drivers/stdio_console.c
+++ b/arch/um/drivers/stdio_console.c
@@ -90,7 +90,7 @@ static int con_remove(int n, char **error_out)
}
/* Set in an initcall, checked in an exitcall */
-static int con_init_done = 0;
+static int con_init_done;
static int con_install(struct tty_driver *driver, struct tty_struct *tty)
{
--
2.30.2
Powered by blists - more mailing lists