[PATCH] parisc /proc/interrupts uninitialised var
From: James Bottomley <James.Bottomley@SteelEye.com> The compiler justly complains in this: unsigned int regnr = *(loff_t *) v, i; if (regnr == 0) { seq_puts(p, " "); #ifdef CONFIG_SMP for (i = 0; i < NR_CPUS; i++) #endif seq_printf(p, " CPU%02d ", i); That i is uninitialised if CONFIG_SMP is not set.
Showing
Please register or sign in to comment