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/ssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/drivers/ssl.c +1 -1
index 41eae2e8fb65..891e9c83d407 100644
@@ -108,7 +108,7 @@ static const struct tty_operations ssl_ops = {
 /* Changed by ssl_init and referenced by ssl_exit, which are both serialized
  * by being an initcall and exitcall, respectively.
  */
-static int ssl_init_done = 0;
+static int ssl_init_done;
 
 static void ssl_console_write(struct console *c, const char *string,
 			      unsigned len)
Signature · 1 line
2.30.2