diff options
author | Emil Velikov <[email protected]> | 2018-03-28 17:22:16 +0100 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-06-03 16:49:00 -0400 |
commit | 641be142bfc241b3e1ce7ecf3f04ef03facfe81e (patch) | |
tree | c348a1cd61025ea6d62706b3e15df32939354474 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cf606fe3300cbd3db44785174934e61e5a2ffc37 (diff) |
drm/msm: don't deref error pointer in the msm_fbdev_create error path
Currently the error pointer returned by msm_alloc_stolen_fb gets passed
to drm_framebuffer_remove. The latter handles only NULL pointers, thus
a nasty crash will occur.
Drop the unnecessary fail label and the associated checks - both err and
fb will be set at this stage.
Cc: Rob Clark <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Emil Velikov <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions