diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2015-01-07 17:27:06 +0800 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-01-09 11:29:06 +0800 |
commit | 4b9a90c0b374f8f7b3ceabe3c202424c98a6c5a4 (patch) | |
tree | 2ee8991dcfd90a81e0a78caf08bf6c21c18ee3c7 /lib/raid6/test/test.c | |
parent | c93546a5e32bd788c22aefa072385f3784551c13 (diff) |
drm/rockchip: fix dma_alloc_attrs() error check
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>
Diffstat (limited to 'lib/raid6/test/test.c')
0 files changed, 0 insertions, 0 deletions