From: Jiri Slaby Date: Mon, 5 Mar 2012 13:52:52 +0000 (+0100) Subject: TTY: pdc_cons, fix open vs pdc_console_tty_driver race X-Git-Tag: v3.4-rc1~185^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b479d54ae7b79f62f09ef977c2228e579924d38;p=pandora-kernel.git TTY: pdc_cons, fix open vs pdc_console_tty_driver race Assign the pointer to pdc_console_tty_driver (a tty_driver) earlier. Otherwise the timer may dereference NULL. Signed-off-by: Jiri Slaby Cc: Kyle McMartin Cc: Helge Deller Cc: "James E.J. Bottomley" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed