15 Sep, 2011

1 commit

  • 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: [] 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
    Cc: Dave Jones
    Cc: Len Brown
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Naga Chumbalkar
     

20 May, 2011

1 commit