Message ID | 200911172227.nAHMRcq7023537@imap1.linux-foundation.org (mailing list archive) |
---|---|
State | RFC, archived |
Headers | show |
diff -puN drivers/acpi/acpi_pad.c~drivers-acpi-acpi_padc-squish-warning drivers/acpi/acpi_pad.c --- a/drivers/acpi/acpi_pad.c~drivers-acpi-acpi_padc-squish-warning +++ a/drivers/acpi/acpi_pad.c @@ -100,7 +100,8 @@ static void round_robin_cpu(unsigned int struct cpumask *pad_busy_cpus = to_cpumask(pad_busy_cpus_bits); cpumask_var_t tmp; int cpu; - unsigned long min_weight = -1, preferred_cpu; + unsigned long min_weight = -1; + unsigned long uninitialized_var(preferred_cpu); if (!alloc_cpumask_var(&tmp, GFP_KERNEL)) return;