Messages in this thread |  | | | Date | Sat, 20 May 2006 17:02:32 -0700 | | From | Chris Wedgwood <> | | Subject | Re: [patch] initialize variables to reduce i386 warnings |
| |
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.
Urgh.
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |