diff options
author | Wei Yongjun <[email protected]> | 2017-01-12 15:19:21 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2017-01-23 09:02:28 +0100 |
commit | bdf6f135973acb409b3ec5a6214fb597670a0bc0 (patch) | |
tree | 9d3da9243bad18a8711c61a50d61246708489387 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 899cc5f14054267b89ebeef4d3c749473ab28eed (diff) |
drm/hisilicon/hibmc: Fix wrong pointer passed to PTR_ERR()
PTR_ERR should access the value just tested by IS_ERR, otherwise
the wrong error code will be returned.
Fixes: d1667b86795a ("drm/hisilicon/hibmc: Add support for frame buffer")
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Gustavo Padovan <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions