[pcnet32] Fix uninitialised variable
Reported-by: Geoff Lywood <glywood@vmware.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
66df967cb4
commit
c84a2c81a7
|
@ -513,7 +513,7 @@ static void
|
||||||
pcnet32_setup_probe_phy ( struct pcnet32_private *priv )
|
pcnet32_setup_probe_phy ( struct pcnet32_private *priv )
|
||||||
{
|
{
|
||||||
unsigned long ioaddr = priv->pci_dev->ioaddr;
|
unsigned long ioaddr = priv->pci_dev->ioaddr;
|
||||||
char phycount;
|
unsigned int phycount = 0;
|
||||||
int phy_id;
|
int phy_id;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
Reference in New Issue