Re: [Etherboot-developers] SiS190 Compiler Warning on GCC 3.3.3
Brought to you by:
marty_connor,
stefanhajnoczi
From: Marty C. <md...@et...> - 2009-10-18 02:30:24
|
Miller, Shao wrote on 10/17/09 9:18 PM: > Hey Thomas, I get a compiler warning with GCC 3.3.3 under Knoppix 3.7 > after commit 251926... > > --- > > [BUILD] bin/sis190.o > drivers/net/sis190.c: In function `sis190_get_mac_addr_from_apc': > drivers/net/sis190.c:966: warning: `isa_bridge' might be used > uninitialized in this function > make: *** [bin/sis190.o] Error 1 > > --- > > Initializing it to NULL seems to do the trick. > > - Shao Miller Thanks for the patch for this, Shao: http://git.etherboot.org/?p=gpxe.git;a=commit;h=389eefd0cd5343cd35e45bfc7377596606d55efd Marty |