lkml.org 
[lkml]   [2006]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Prevent usage of uninitialized variable in transmeta cpu driver
From
Hi,

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.
>
> NACK.
>
> 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 ;)

Hannes

--
#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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-07-24 07:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site