Skip to contentSkip to conversation

um:do not initialise statics to 0.

PATCH New Xin Gao 1 participant 1 message Jul 20, 2022 User-mode Linux (UML)

lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 um:do not initialise statics to 0.

do not initialise statics to 0.

---
 arch/um/drivers/stdio_console.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/drivers/stdio_console.c +1 -1
index e8b762f4d8c2..e0f7543ef499 100644
@@ -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)
 {
Signature · 1 line
2.30.2