Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323013
b: refs/heads/master
c: 61c6e75
h: refs/heads/master
i:
  323011: f87b950
v: v3
  • Loading branch information
Sachin Kamat authored and Vinod Koul committed Sep 18, 2012
1 parent 931383e commit 1da8f12
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: 2e2c682becb20416c140aa0d6d3137b51a5c76da
refs/heads/master: 61c6e7531d3b66b33187b8cdd700fd8ab93ffd62
5 changes: 5 additions & 0 deletions trunk/drivers/dma/pl330.c
Original file line number Diff line number Diff line change
Expand Up @@ -2930,6 +2930,11 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id)
num_chan = max_t(int, pi->pcfg.num_peri, pi->pcfg.num_chan);

pdmac->peripherals = kzalloc(num_chan * sizeof(*pch), GFP_KERNEL);
if (!pdmac->peripherals) {
ret = -ENOMEM;
dev_err(&adev->dev, "unable to allocate pdmac->peripherals\n");
goto probe_err5;
}

for (i = 0; i < num_chan; i++) {
pch = &pdmac->peripherals[i];
Expand Down

0 comments on commit 1da8f12

Please sign in to comment.