diff options
| author | Andrzej Hajda <[email protected]> | 2015-09-21 13:33:47 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2015-09-23 22:13:09 +0000 |
| commit | 14d11b8dca17f6dedf4b62d7391b9b294e3414ff (patch) | |
| tree | d736e1992a6ab26ca66f94d34d948e1d8fec4062 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/mgag200: Fix driver_load error handling (diff) | |
| download | kernel-14d11b8dca17f6dedf4b62d7391b9b294e3414ff.tar.gz kernel-14d11b8dca17f6dedf4b62d7391b9b294e3414ff.zip | |
drm/layerscape: fix handling fsl_dcu_drm_plane_index result
The function can return negative value.
The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].
[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576
Signed-off-by: Andrzej Hajda <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
