diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2011-07-26 00:11:54 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 03:57:07 (GMT) |
commit | 2b934c6236983392d01bef22e43af3051cac16f5 (patch) | |
tree | c7901f1c9392f8ebb99f0cfda871863e0c2d5500 /mm | |
parent | 90b03f5052be92ab0ba0aa36abcf33a207706866 (diff) | |
download | linux-2b934c6236983392d01bef22e43af3051cac16f5.tar.xz |
drivers/misc/pch_phub.c: don't oops if dmi_get_system_info returns NULL
If dmi_get_system_info() returns NULL, pch_phub_probe() will dereferencea
a zero pointer.
This oops was observed on an Atom based board which has no BIOS, but a
bootloder which doesn't privde DMI data.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Cc: Greg KH <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions