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:
c93546a
)
drm/rockchip: fix dma_alloc_attrs() error check
author
Daniel Kurtz
<djkurtz@chromium.org>
Wed, 7 Jan 2015 09:27:06 +0000
(17:27 +0800)
committer
Mark Yao
<mark.yao@rock-chips.com>
Fri, 9 Jan 2015 03:29:06 +0000
(11:29 +0800)
dma_alloc_attrs() returns NULL if it cannot allocate a dma buffer (or
mapping), not a negative error code.
Rerported-by: Pawel Osciak <posciak@chromium.org>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
No differences found