diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2011-06-15 15:08:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-08 23:14:57 -0700 |
commit | 6a435c15c4f4374c2311532791f4bc1d19683e66 (patch) | |
tree | 9be7aea3b4636dca52bc979f62cd26927389d671 /drivers/tty/serial/icom.h | |
parent | baa7218beb703e11f24ffd75e9e4ae102450766a (diff) |
drivers/tty/serial/pch_uart.c: don't oops if dmi_get_system_info returns NULL
commit fb139dfeef9558a12ffdbf9e26951fd1a9304f3b upstream.
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 <alexander.stein@systec-electronic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/icom.h')
0 files changed, 0 insertions, 0 deletions