diff options
author | Naga Chumbalkar | 2011-09-15 01:22:23 +0200 |
---|---|---|
committer | Linus Torvalds | 2011-09-15 03:09:38 +0200 |
commit | e71f5cc402ecb42b407ae52add7b173bf1c53daa (patch) | |
tree | 03e1b260a42a59e3fea1a3db4f39a9a260dd0a58 /MAINTAINERS | |
parent | drivers/rtc/rtc-s3c.c: fix no occurrence of alarm interrupt (diff) | |
download | kernel-qcow2-linux-e71f5cc402ecb42b407ae52add7b173bf1c53daa.tar.gz kernel-qcow2-linux-e71f5cc402ecb42b407ae52add7b173bf1c53daa.tar.xz kernel-qcow2-linux-e71f5cc402ecb42b407ae52add7b173bf1c53daa.zip |
drivers/cpufreq/pcc-cpufreq.c: avoid NULL pointer dereference
per_cpu(processors, n) can be NULL, resulting in:
Loading CPUFreq modules[ 437.661360] BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffffa0434314>] pcc_cpufreq_cpu_init+0x74/0x220 [pcc_cpufreq]
It's better to avoid the oops by failing the driver, and allowing the
system to boot.
Signed-off-by: Naga Chumbalkar <nagananda.chumbalkar@hp.com>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Len Brown <lenb@kernel.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions