Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210517
b: refs/heads/master
c: 4ee6985
h: refs/heads/master
i:
  210515: 41a5434
v: v3
  • Loading branch information
Dan Carpenter authored and Jens Axboe committed Aug 23, 2010
1 parent 5ec4ece commit 23c6317
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6d6ac1c1a3d4f95953aa3b085e8f16692d3a7179
refs/heads/master: 4ee69851cd4880f574d22f5ce08bec35b01c94e3
3 changes: 3 additions & 0 deletions trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -4718,6 +4718,9 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,
h->scatter_list = kmalloc(h->max_commands *
sizeof(struct scatterlist *),
GFP_KERNEL);
if (!h->scatter_list)
goto clean4;

for (k = 0; k < h->nr_cmds; k++) {
h->scatter_list[k] = kmalloc(sizeof(struct scatterlist) *
h->maxsgentries,
Expand Down

0 comments on commit 23c6317

Please sign in to comment.