diff options
author | Daniel Kurtz <[email protected]> | 2015-01-07 17:27:06 +0800 |
---|---|---|
committer | Mark Yao <[email protected]> | 2015-01-09 11:29:06 +0800 |
commit | 4b9a90c0b374f8f7b3ceabe3c202424c98a6c5a4 (patch) | |
tree | 2ee8991dcfd90a81e0a78caf08bf6c21c18ee3c7 /scripts/gdb/linux/utils.py | |
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 <[email protected]>
Signed-off-by: Daniel Kurtz <[email protected]>
Signed-off-by: Mark Yao <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions