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 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | Merge tag 'topic/atomic-core-2015-01-05' of git://anongit.freedesktop.org/drm... (diff) | |
| download | linux-4b9a90c0b374f8f7b3ceabe3c202424c98a6c5a4.tar.gz linux-4b9a90c0b374f8f7b3ceabe3c202424c98a6c5a4.zip | |
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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
