2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-25 12:41:34 +00: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:
Michael Brown 2010-06-25 11:12:40 +01:00
parent 66df967cb4
commit c84a2c81a7

View File

@ -513,7 +513,7 @@ static void
pcnet32_setup_probe_phy ( struct pcnet32_private *priv )
{
unsigned long ioaddr = priv->pci_dev->ioaddr;
char phycount;
unsigned int phycount = 0;
int phy_id;
int i;