Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43698
b: refs/heads/master
c: f067137
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Dec 8, 2006
1 parent 80cc4d2 commit d0df15d
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 78028da91e05146c9ce0c9db2fea53e0cded1e81
refs/heads/master: f0671378426d9768bf20d5e0f8389374dcdc2abf
5 changes: 5 additions & 0 deletions trunk/drivers/char/isicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1709,6 +1709,11 @@ static int __devinit load_firmware(struct pci_dev *pdev,
}

data = kmalloc(word_count * 2, GFP_KERNEL);
if (data == NULL) {
dev_err(&pdev->dev, "Card%d, firmware upload "
"failed, not enough memory\n", index + 1);
goto errrelfw;
}
inw(base);
insw(base, data, word_count);
InterruptTheCard(base);
Expand Down

0 comments on commit d0df15d

Please sign in to comment.