linux/drivers/gpu/drm/msm
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
..
adreno drm/msm/a6xx: Fix PDC register overlap 2018-10-03 20:24:54 -04:00
disp drm/msm: fix unsigned comparison with less than zero 2018-10-03 20:24:54 -04:00
dsi drm/msm: Don't fail bind if nothing connected to dsi 2018-10-03 20:24:50 -04:00
edp drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
hdmi drm/msm: update generated headers 2018-08-10 18:49:18 -04:00
Kconfig drm/msm/gpu: Capture the GPU state on a GPU hang 2018-07-30 08:49:56 -04:00
Makefile drm/msm/dpu: remove cdm block support from resource manager 2018-10-03 20:24:52 -04:00
msm_atomic.c drm: extract drm_atomic_uapi.c 2018-09-09 14:19:18 +02:00
msm_debugfs.c drm/msm/gpu: Capture the GPU state on a GPU hang 2018-07-30 08:49:56 -04:00
msm_debugfs.h
msm_drv.c drm/msm: Add a helper function to parse clock names 2018-08-10 18:49:18 -04:00
msm_drv.h drm/msm: dpu: Allow planes to extend past active display 2018-10-03 20:24:50 -04:00
msm_fb.c drm/msm: Add modifier to mdp_get_format arguments 2018-06-03 16:48:59 -04:00
msm_fbdev.c drm/msm: don't deref error pointer in the msm_fbdev_create error path 2018-06-03 16:49:00 -04:00
msm_fence.c drm/msm: Remove unecessary dma_fence_ops 2018-08-17 11:22:25 +02:00
msm_fence.h drm/msm: strip out msm_fence_cb 2018-03-19 06:33:35 -04:00
msm_gem.c gpu: drm: msm: Change return type to vm_fault_t 2018-08-03 09:53:36 -04:00
msm_gem.h drm/msm: add sudo flag to submit ioctl 2018-02-20 10:41:20 -05:00
msm_gem_prime.c
msm_gem_shrinker.c
msm_gem_submit.c drm/msm: add sudo flag to submit ioctl 2018-02-20 10:41:20 -05:00
msm_gem_vma.c drm/msm: Pass the correct aperture end to drm_mm_init 2018-02-20 10:41:22 -05:00
msm_gpu.c drm/msm/gpu: fix parameters in function msm_gpu_crashstate_capture 2018-10-03 20:24:54 -04:00
msm_gpu.h drm/msm: Add a helper function to parse clock names 2018-08-10 18:49:18 -04:00
msm_iommu.c
msm_kms.h drm/msm: Add SDM845 DPU support 2018-07-26 10:45:04 -04:00
msm_mmu.h
msm_perf.c
msm_rd.c drm/msm/rd: fix crash with long process cmdlines 2018-10-03 20:24:54 -04:00
msm_ringbuffer.c drm/msm: Replace gem_object deprecated functions 2018-02-20 10:41:21 -05:00
msm_ringbuffer.h
msm_submitqueue.c
NOTES