[gPXE-devel] [PATCH] Build breakage caused by new pcnet32 driver
Stefan Hajnoczi
stefanha at gmail.com
Thu Jun 24 16:10:56 EDT 2010
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.
Stefan
More information about the gPXE-devel
mailing list