warning: 'num_cpus' may be used uninitialized in this function Initialize 'num_cpus' variable to zero so that gcc doesn't complain. Signed-off-by: Jean Sacren <sakiwit@xxxxxxxxx> --- drivers/acpi/acpi_pad.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c index b76848c..6154f2b 100644 --- a/drivers/acpi/acpi_pad.c +++ b/drivers/acpi/acpi_pad.c @@ -429,7 +429,7 @@ static void acpi_pad_ost(acpi_handle handle, int stat, static void acpi_pad_handle_notify(acpi_handle handle) { - int num_cpus; + int num_cpus = 0; uint32_t idle_cpus; mutex_lock(&isolated_cpus_lock); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html