Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26259
b: refs/heads/master
c: f01f418
h: refs/heads/master
i:
  26257: 5c03adb
  26255: 4516dc3
v: v3
  • Loading branch information
Jesper Juhl authored and Greg Kroah-Hartman committed Apr 27, 2006
1 parent 216f618 commit b90202f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 9b860b8c4bde5949b272968597d1426d53080532
refs/heads/master: f01f4182597a3bb4b6fbf92e041faf7a1016f4b6
4 changes: 3 additions & 1 deletion trunk/drivers/pci/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,10 @@ static int msix_capability_init(struct pci_dev *dev,
if (!entry)
break;
vector = get_msi_vector(dev);
if (vector < 0)
if (vector < 0) {
kmem_cache_free(msi_cachep, entry);
break;
}

j = entries[i].entry;
entries[i].vector = vector;
Expand Down

0 comments on commit b90202f

Please sign in to comment.