linux_dsm_epyc7002/drivers/gpu/drm/msm/disp
Colin Ian King dfdb3be43e drm/msm: fix unsigned comparison with less than zero
The return from the call to _mixer_stages can be a negative error
code however this is being assigned to an unsigned variable 'stages'
hence the check is always false. Fix this by making 'stages' an
int.

Detected by Coccinelle ("Unsigned expression compared with zero:
stages < 0")

Fixes: 25fdd5933e ("drm/msm: Add SDM845 DPU support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
2018-10-03 20:24:54 -04:00
..
dpu1 drm/msm: fix unsigned comparison with less than zero 2018-10-03 20:24:54 -04:00
mdp4 drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
mdp5 drm/msm: dpu: Allow planes to extend past active display 2018-10-03 20:24:50 -04: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