Re: [patch] initialize variables to reduce i386 warnings

From: Chris Wedgwood
Date: Sat May 20 2006 - 20:03:42 EST

On Sat, May 20, 2006 at 07:19:48PM -0400, Ameer Armaly wrote:

> Initialized cpu_freq in arch/i386/kernel/cpu/transmeta.c to suppress
> warning.


Doing this just to silence gcc is wrong. I know we've done this at
times in the past and that's still not right (I would argue those
should be reverted even).

> struct range {
> - unsigned long start;
> - unsigned long end;
> + unsigned long start = 0;
> + unsigned long end = 0;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at