Re: [PATCH] Prevent usage of uninitialized variable in transmeta cpu driver

From: Johannes Weiner
Date: Mon Jul 24 2006 - 01:48:02 EST


On Mon, Jul 24, 2006 at 01:56:44AM +0159, Jiri Slaby wrote:
> Johannes Weiner napsal(a):
> > This patch fixes a gcc-`uninitialized' warning in
> > arch/i386/kernel/cpu/transmeta.c.
> Gcc bug, don't hide it (I don't really know, why cpu_rev is zeroed).

Ok. This GCC release I'm running (4.1.1) shows really a lot more of
them then the prior. Should have wondered and thought about it before ;)


#include <stdio.h>
char *love[] = { "this", "language" };
#define gimme(s) #s, 0[s], 0[s+1]
int main(void) { printf("%s %s %s\n", gimme(love)); return 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