aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2018-03-28 16:22:16 +0000
committerRob Clark <[email protected]>2018-04-19 14:09:41 +0000
commit789d4c300e10eb2096ee83c3497118e67ccc951e (patch)
tree954c849f82d4fffd55c1f20256cf22650bd76502 /lib/test_bitmap.c
parentdrm/msm/dsi: use correct enum in dsi_get_cmd_fmt (diff)
downloadkernel-789d4c300e10eb2096ee83c3497118e67ccc951e.tar.gz
kernel-789d4c300e10eb2096ee83c3497118e67ccc951e.zip
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 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions