The patch titled acpi: pass correct parameter to acpi_processor_ffh_cstate_probe_cpu() has been added to the -mm tree. Its filename is acpi-pass-correct-parameter-to-acpi_processor_ffh_cstate_probe_cpu.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: acpi: pass correct parameter to acpi_processor_ffh_cstate_probe_cpu() From: Wu Fengguang <fengguang.wu@xxxxxxxxx> This fixes a NULL pointer dereference bug introduced by 6e911954cac ("use smp_call_function_single() in arch/x86/kernel/acpi/cstate.c"). Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> Cc: Len Brown <len.brown@xxxxxxxxx> Cc: Zhao Yakui <yakui.zhao@xxxxxxxxx> Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/kernel/acpi/cstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/x86/kernel/acpi/cstate.c~acpi-pass-correct-parameter-to-acpi_processor_ffh_cstate_probe_cpu arch/x86/kernel/acpi/cstate.c --- a/arch/x86/kernel/acpi/cstate.c~acpi-pass-correct-parameter-to-acpi_processor_ffh_cstate_probe_cpu +++ a/arch/x86/kernel/acpi/cstate.c @@ -137,7 +137,7 @@ int acpi_processor_ffh_cstate_probe(unsi /* Run acpi_processor_ffh_cstate_probe_cpu() on the target CPU */ retval = smp_call_function_single(cpu, - acpi_processor_ffh_cstate_probe_cpu, cx, 1); + acpi_processor_ffh_cstate_probe_cpu, &cxcc, 1); if (retval == 0) { retval = cxcc.retval; if (retval == 0) { _ Patches currently in -mm which might be from fengguang.wu@xxxxxxxxx are origin.patch linux-next.patch acpi-pass-correct-parameter-to-acpi_processor_ffh_cstate_probe_cpu.patch ramfs-add-support-for-mode=-mount-option.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html