Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134286
b: refs/heads/master
c: 073a243
h: refs/heads/master
v: v3
  • Loading branch information
Breno Leitao authored and David S. Miller committed Feb 3, 2009
1 parent 6f64f9f commit 39b729f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3834507d0c5480a0f05486c2fb57ed18fd179a83
refs/heads/master: 073a24364fe6de7eef0a3dec0ec7d48e56624092
5 changes: 2 additions & 3 deletions trunk/drivers/net/s2io.c
Original file line number Diff line number Diff line change
Expand Up @@ -3862,7 +3862,7 @@ static int s2io_enable_msi_x(struct s2io_nic *nic)
ret = pci_enable_msix(nic->pdev, nic->entries, nic->num_entries);
/* We fail init if error or we get less vectors than min required */
if (ret) {
DBG_PRINT(ERR_DBG, "%s: Enabling MSIX failed\n", nic->dev->name);
DBG_PRINT(ERR_DBG, "s2io: Enabling MSI-X failed\n");
kfree(nic->entries);
nic->mac_control.stats_info->sw_stat.mem_freed
+= (nic->num_entries * sizeof(struct msix_entry));
Expand Down Expand Up @@ -8010,8 +8010,7 @@ s2io_init_nic(struct pci_dev *pdev, const struct pci_device_id *pre)
if (ret) {

DBG_PRINT(ERR_DBG,
"%s: MSI-X requested but failed to enable\n",
dev->name);
"s2io: MSI-X requested but failed to enable\n");
sp->config.intr_type = INTA;
}
}
Expand Down

0 comments on commit 39b729f

Please sign in to comment.