Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262045
b: refs/heads/master
c: 1c1d954
h: refs/heads/master
i:
  262043: 832e247
v: v3
  • Loading branch information
Axel Lin authored and Vinod Koul committed Jul 25, 2011
1 parent 94eb10f commit 9041ab7
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 0b052f4a088ddc47a5da23dd733522241314cfb4
refs/heads/master: 1c1d9547536480626c1be1fb062b81663fb2b88e
4 changes: 3 additions & 1 deletion trunk/drivers/dma/imx-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1281,8 +1281,10 @@ static int __init sdma_probe(struct platform_device *pdev)
goto err_request_irq;

sdma->script_addrs = kzalloc(sizeof(*sdma->script_addrs), GFP_KERNEL);
if (!sdma->script_addrs)
if (!sdma->script_addrs) {
ret = -ENOMEM;
goto err_alloc;
}

sdma->version = pdata->sdma_version;

Expand Down

0 comments on commit 9041ab7

Please sign in to comment.