https://github.com/torvalds/linux
Revision fb139dfeef9558a12ffdbf9e26951fd1a9304f3b authored by Alexander Stein on 15 June 2011, 22:08:55 UTC, committed by Linus Torvalds on 16 June 2011, 03:04:02 UTC
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>
1 parent 273ef95
History
Tip revision: fb139dfeef9558a12ffdbf9e26951fd1a9304f3b authored by Alexander Stein on 15 June 2011, 22:08:55 UTC
drivers/tty/serial/pch_uart.c: don't oops if dmi_get_system_info returns NULL
Tip revision: fb139df
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.3 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 189.9 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top