diff options
| author | Alexander Stein <[email protected]> | 2011-07-25 17:11:54 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-07-25 20:57:07 -0700 |
| commit | 2b934c6236983392d01bef22e43af3051cac16f5 (patch) | |
| tree | c7901f1c9392f8ebb99f0cfda871863e0c2d5500 /tools/perf/scripts/python | |
| 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 <[email protected]>
Cc: Tomoya MORINAGA <[email protected]>
Cc: Greg KH <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions