diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2011-06-16 00:08:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-06-16 05:04:02 +0200 |
commit | fb139dfeef9558a12ffdbf9e26951fd1a9304f3b (patch) | |
tree | 10a6408fa9953a484e7fcc629b433a9252c0a6de /arch/avr32 | |
parent | drivers/char/hpet.c: fix periodic-emulation for delayed interrupts (diff) | |
download | linux-fb139dfeef9558a12ffdbf9e26951fd1a9304f3b.tar.xz linux-fb139dfeef9558a12ffdbf9e26951fd1a9304f3b.zip |
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 <alexander.stein@systec-electronic.com>
Cc: Greg KH <gregkh@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions