diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index e3d80c9fb86..7841a8f6999 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -12694,7 +12694,7 @@ static void __devinit tg3_read_vpd(struct tg3 *tp) | |||
12694 | cnt = pci_read_vpd(tp->pdev, pos, | 12694 | cnt = pci_read_vpd(tp->pdev, pos, |
12695 | TG3_NVM_VPD_LEN - pos, | 12695 | TG3_NVM_VPD_LEN - pos, |
12696 | &vpd_data[pos]); | 12696 | &vpd_data[pos]); |
12697 | if (cnt == -ETIMEDOUT || -EINTR) | 12697 | if (cnt == -ETIMEDOUT || cnt == -EINTR) |
12698 | cnt = 0; | 12698 | cnt = 0; |
12699 | else if (cnt < 0) | 12699 | else if (cnt < 0) |
12700 | goto out_not_found; | 12700 | goto out_not_found; |