drivers/acpi/acpi_pad.c:432: warning: 'num_cpus' may be used uninitialized in this function num_cpus is set by the call to acpi_pad_pur() Signed-off-by: Bill Pemberton <wfp5p@xxxxxxxxxxxx> --- 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..69e2593 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 uninitialized_var(num_cpus); uint32_t idle_cpus; mutex_lock(&isolated_cpus_lock); -- 1.7.2 -- 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