git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49954c1
)
shdma: fix initialization error handling
author
Dan Williams
<dan.j.williams@intel.com>
Sun, 22 Nov 2009 19:10:10 +0000
(12:10 -0700)
committer
Dan Williams
<dan.j.williams@intel.com>
Sun, 22 Nov 2009 19:10:10 +0000
(12:10 -0700)
1/ Error handling code following a kzalloc should free the allocated data.
2/ Report an error when no platform data is detected
Both problems fixed by moving the platform data check before the allocation,
and allows a goto to be killed.
Reported-by: Julia Lawall <julia@diku.dk>
Acked-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
No differences found