Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162565
b: refs/heads/master
c: a2279ae
h: refs/heads/master
i:
  162563: 4e2d849
v: v3
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 4c2dae4 commit b8f260c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 14386fd10c33b6a6a53901a64832f34f038857cf
refs/heads/master: a2279ae5b58edb7cbe2196d08572fcf59f292354
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ void v_pci_card_list_init(unsigned short pci_vendor, char display)
pci_vendor = i_ADDIDATADeviceID[i_Count];
if (pcidev->vendor == pci_vendor) {
amcc = kmalloc(sizeof(*amcc), GFP_KERNEL);
if (amcc == NULL)
continue;

memset(amcc, 0, sizeof(*amcc));

amcc->pcidev = pcidev;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,9 @@ void v_pci_card_list_init(unsigned short pci_vendor, char display)
pci_for_each_dev(pcidev) {
if (pcidev->vendor == pci_vendor) {
amcc = kmalloc(sizeof(*amcc), GFP_KERNEL);
if (amcc == NULL)
continue;

memset(amcc, 0, sizeof(*amcc));

amcc->pcidev = pcidev;
Expand Down

0 comments on commit b8f260c

Please sign in to comment.