[gPXE-devel] [PATCH] Build breakage caused by new pcnet32 driver

Stefan Hajnoczi stefanha at gmail.com
Tue Jun 29 03:13:49 EDT 2010


On Thu, Jun 24, 2010 at 9:10 PM, Stefan Hajnoczi <stefanha at gmail.com> wrote:
> On Thu, Jun 24, 2010 at 9:02 PM, Geoff Lywood <glywood at vmware.com> wrote:
>> Using gcc 4.1.2, I get the following error when running 'make bin/pcnet32.rom':
>>
>>  [BUILD] bin/pcnet32.o
>> cc1: warnings being treated as errors
>> drivers/net/pcnet32.c: In function 'pcnet32_probe':
>> drivers/net/pcnet32.c:516: warning: 'phycount' may be used uninitialized in this function
>> make: *** [bin/pcnet32.o] Error 1
>>
>> Here is a patch to fix the problem.
>
> Thanks, I think this should go into -rc2 since it is a critical build issue.

Applied, thanks!

http://git.etherboot.org/?p=gpxe.git;a=commitdiff;h=512bc1ae0687605e0b1a49f5cd91a7fea34e09f4

Stefan


More information about the gPXE-devel mailing list