diff options
| author | Vinod Koul <[email protected]> | 2020-07-18 13:51:59 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-07-22 16:30:19 +0000 |
| commit | 1c1df9087108253caa9e5a26809f0128ccb77ee0 (patch) | |
| tree | 611c049603bbbad3ccda008d21a57a5c9032af5a /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | dmaengine: xilinx: dpdma: Add the Xilinx DisplayPort DMA engine driver (diff) | |
| download | kernel-1c1df9087108253caa9e5a26809f0128ccb77ee0.tar.gz kernel-1c1df9087108253caa9e5a26809f0128ccb77ee0.zip | |
dmaengine: xilinx: dpdma: remove comparison of unsigned expression
xilinx_dpdma_config() channel id is unsigned int and compares with
ZYNQMP_DPDMA_VIDEO0 which is zero, so remove this comparison
drivers/dma/xilinx/xilinx_dpdma.c:1073:15: warning: comparison of
unsigned expression in ‘>= 0’ is always true [-Wtype-limits] if
(chan->id >= ZYNQMP_DPDMA_VIDEO0 && chan->id <= ZYNQMP_DPDMA_VIDEO2)
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
