From a743b78f7a6aeedd38cac6e88e058783212b4932 Mon Sep 17 00:00:00 2001 From: Kevin Hao Date: Mon, 1 Dec 2008 11:36:16 +0000 Subject: [PATCH] --- yaml --- r: 119488 b: refs/heads/master c: e5404586a499f7dce915456e85ff94b2df7a3b1c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/usb/serial/console.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 706653b80095..b04ee74db86c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 296fa7f6a3f3342d40df7713e74246198295654b +refs/heads/master: e5404586a499f7dce915456e85ff94b2df7a3b1c diff --git a/trunk/drivers/usb/serial/console.c b/trunk/drivers/usb/serial/console.c index 5b20de130e08..5b95009d2fbb 100644 --- a/trunk/drivers/usb/serial/console.c +++ b/trunk/drivers/usb/serial/console.c @@ -135,6 +135,7 @@ static int usb_console_setup(struct console *co, char *options) err("no more memory"); goto reset_open_count; } + kref_init(&tty->kref); termios = kzalloc(sizeof(*termios), GFP_KERNEL); if (!termios) { retval = -ENOMEM;