mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[pcnet32] Fix uninitialised variable
Reported-by: Geoff Lywood <glywood@vmware.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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
Block a user