diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-09-17 17:24:10 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-09-17 17:24:10 +0200 |
commit | 5facb097137e7509a1b73448fe20226a4fbfe8cb (patch) | |
tree | 65d6420d70466f8e4828946b5b682f0c6f272729 /mm/mincore.c | |
parent | 03a7ab083e4d619136d6f07ce70fa9de0bc436fc (diff) |
hwmon: (lis3lv02d) Prevent NULL pointer dereference
If CONFIG_PM was selected and lis3lv02d_platform_data was NULL,
the kernel will be panic when halt command run.
Reported-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Samu Onkalo <samu.p.onkalo@nokia.com>
Sigend-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions