Re: [PATCH -mm 1/2] 3c59x: Fix uninitialized variable bug

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Hindley <mark@...>
Cc: Satyam Sharma <satyam@...>, Linux Kernel Mailing List <linux-kernel@...>, Linux Netdev Mailing List <netdev@...>, Jeff Garzik <jeff@...>
Date: Tuesday, September 4, 2007 - 5:17 am

On Tue, Sep 04, 2007 at 09:53:31AM +0100, Mark Hindley wrote:

The only warning that I was able to trigger with gcc 4.2 is in the case of a .config
without PCI support. In this case I get

drivers/net/3c59x.c: In function 'vortex_up':
drivers/net/3c59x.c:1672: warning: 'err' is used uninitialized in this function
                                         ^^
So we have to be more carefull with the newer gcc versions.

Steffen

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm 1/2] 3c59x: Fix uninitialized variable bug, Steffen Klassert, (Tue Sep 4, 5:17 am)