Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286095
b: refs/heads/master
c: dab6538
h: refs/heads/master
i:
  286093: 63c9233
  286091: fb3dbed
  286087: 93e188e
  286079: 66f6503
v: v3
  • Loading branch information
Boojin Kim authored and Vinod Koul committed Nov 10, 2011
1 parent 488ba3f commit 8f215b3
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c511595390a373e19a774246c659b4f563a4c3f3
refs/heads/master: dab6538e29e68af6206ec1889c847b428f290989
3 changes: 2 additions & 1 deletion trunk/drivers/dma/pl330.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,8 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id)
INIT_LIST_HEAD(&pd->channels);

/* Initialize channel parameters */
num_chan = max(pdat ? pdat->nr_valid_peri : 0, (u8)pi->pcfg.num_chan);
num_chan = max(pdat ? (int)pdat->nr_valid_peri : 0,
(int)pi->pcfg.num_chan);
pdmac->peripherals = kzalloc(num_chan * sizeof(*pch), GFP_KERNEL);

for (i = 0; i < num_chan; i++) {
Expand Down

0 comments on commit 8f215b3

Please sign in to comment.