Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
@@ -12694,7 +12694,7 @@ static void __devinit tg3_read_vpd(struct tg3 *tp)
|
||||
cnt = pci_read_vpd(tp->pdev, pos,
|
||||
TG3_NVM_VPD_LEN - pos,
|
||||
&vpd_data[pos]);
|
||||
if (cnt == -ETIMEDOUT || -EINTR)
|
||||
if (cnt == -ETIMEDOUT || cnt == -EINTR)
|
||||
cnt = 0;
|
||||
else if (cnt < 0)
|
||||
goto out_not_found;
|
||||
|
Reference in New Issue
Block a user