diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-12-29 23:49:53 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 23:49:53 -0800 |
| commit | 1d0990ac31a9f7d9bca74dd5e8c846a7314a34d6 (patch) | |
| tree | 245e471014146e04fdc624d30aeb40c2a47d0c18 /include/linux/sys.h | |
| parent | 2fbe64960376e3672c8d39753685ba372d200a38 (diff) | |
[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.
Diffstat (limited to 'include/linux/sys.h')
0 files changed, 0 insertions, 0 deletions
