linux/drivers/gpu/drm/msm/disp
Jeffrey Hugo fc19cbb785 drm/msm/mdp5: Fix mdp5_cfg_init error return
If mdp5_cfg_init fails because of an unknown major version, a null pointer
dereference occurs.  This is because the caller of init expects error
pointers, but init returns NULL on error.  Fix this by returning the
expected values on error.

Fixes: 2e362e1772 (drm/msm/mdp5: introduce mdp5_cfg module)
Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2019-06-18 13:54:48 -07:00
..
dpu1 drm/msm/dpu: Avoid a null de-ref while recovering from kms init fail 2019-06-18 13:52:39 -07:00
mdp4 drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
mdp5 drm/msm/mdp5: Fix mdp5_cfg_init error return 2019-06-18 13:54:48 -07:00
mdp_common.xml.h drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
mdp_format.c drm/msm: Add modifier to mdp_get_format arguments 2018-06-03 16:48:59 -04:00
mdp_kms.c
mdp_kms.h drm/msm: Add modifier to mdp_get_format arguments 2018-06-03 16:48:59 -04:00