diff options
| author | Samuel Zou <[email protected]> | 2020-05-06 17:25:46 +0800 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-05-13 20:22:19 +0530 |
| commit | 214a0006b2c83ffa41794a424a9dd6758ca9eb4d (patch) | |
| tree | 175dda9f6fa18e09658249418bce00c3bf0bd095 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | c794f7edbcd7069d888d3d49866e6adacccf7766 (diff) | |
dmaengine: ti: k3-udma: Use PTR_ERR_OR_ZERO() to simplify code
Fixes coccicheck warnings:
drivers/dma/ti/k3-udma.c:1294:1-3: WARNING: PTR_ERR_OR_ZERO can be used
drivers/dma/ti/k3-udma.c:1311:1-3: WARNING: PTR_ERR_OR_ZERO can be used
drivers/dma/ti/k3-udma.c:1376:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Samuel Zou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions