diff options
| author | Yang Yingliang <[email protected]> | 2021-09-24 17:40:40 +0800 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2021-09-24 20:11:40 +0200 |
| commit | ebe180d376a5f7b2e534b69d237aa6fab43008ee (patch) | |
| tree | 51725111a74b2037c7884a5ecee9ab7baf1ec5ad /tools/perf/scripts/python/flamegraph.py | |
| parent | db6568498b35a4d5d5a99420df27ed25fae31406 (diff) | |
drm/gma500: 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.
Signed-off-by: Yang Yingliang <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Fixes: c2f17e60cbe1 ("drm/gma500: Embed struct drm_device in struct drm_psb_private")
Reported-by: Hulk Robot <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Patrik Jakobsson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions