From: Linus Torvalds Date: Mon, 12 Oct 2009 17:13:54 +0000 (+0200) Subject: tty, serial: Fix race and NULL check in uart_close() X-Git-Tag: v2.6.32-rc5~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eea7e17e0eb23729d58368420659f8e7c357d82e;p=pandora-kernel.git tty, serial: Fix race and NULL check in uart_close() Commit 46d57a449aa1 ("serial: use tty_port pointers in the core code") contained two bugs that causes (rare) crashes: - the rename typoed one site - a NULL check was missed Reported-and-tested-by: Ingo Molnar Cc: Greg KH Cc: Alan Cox Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed