diff options
| author | Junlin Yang <[email protected]> | 2021-03-12 07:14:45 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2021-03-17 11:59:23 +0000 |
| commit | 6909115442759efef3d4bc5d9c54d7943f1afc14 (patch) | |
| tree | 0998ef1579b1b6da1601e4e2c7bf2caa2028a6b1 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | drm/ttm: make ttm_bo_unpin more defensive (diff) | |
| download | kernel-6909115442759efef3d4bc5d9c54d7943f1afc14.tar.gz kernel-6909115442759efef3d4bc5d9c54d7943f1afc14.zip | |
drm/omap: dsi: fix unsigned expression compared with zero
r is "u32" always >= 0,mipi_dsi_create_packet may return little than zero.
so r < 0 condition is never accessible.
Fixes coccicheck warnings:
./drivers/gpu/drm/omapdrm/dss/dsi.c:2155:5-6:
WARNING: Unsigned expression compared with zero: r < 0
Signed-off-by: Junlin Yang <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
