diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2011-07-25 17:11:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 20:57:07 -0700 |
commit | 2b934c6236983392d01bef22e43af3051cac16f5 (patch) | |
tree | c7901f1c9392f8ebb99f0cfda871863e0c2d5500 /lib/average.c | |
parent | 90b03f5052be92ab0ba0aa36abcf33a207706866 (diff) |
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 'lib/average.c')
0 files changed, 0 insertions, 0 deletions