From: Alexander Stein Date: Wed, 15 Jun 2011 22:08:55 +0000 (-0700) Subject: drivers/tty/serial/pch_uart.c: don't oops if dmi_get_system_info returns NULL X-Git-Tag: v3.0-rc4~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb139dfeef9558a12ffdbf9e26951fd1a9304f3b;p=pandora-kernel.git drivers/tty/serial/pch_uart.c: don't oops if dmi_get_system_info returns NULL If dmi_get_system_info() returns NULL, pch_uart_init_port() will dereferencea a zero pointer. This oops was observed on an Atom based board which has no BIOS, but a bootloder which doesn't provide DMI data. Signed-off-by: Alexander Stein Cc: Greg KH Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed