diff options
| author | Zheng Bin <[email protected]> | 2020-09-09 13:07:18 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-09-15 21:52:43 +0000 |
| commit | 3d0c75afdc2963a8ea62598160397d0f69058231 (patch) | |
| tree | 63d2ebe352d49c5c6bf0745f41564c688dc60e51 /drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | |
| parent | drm/amd/amdgpu: fix comparison pointer to bool warning in si.c (diff) | |
| download | kernel-3d0c75afdc2963a8ea62598160397d0f69058231.tar.gz kernel-3d0c75afdc2963a8ea62598160397d0f69058231.zip | |
drm/amd/amdgpu: fix comparison pointer to bool warning in uvd_v6_0.c
Fixes coccicheck warning:
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c:1243:14-25: WARNING: Comparison to bool
Acked-by: Christian König <[email protected]>
Signed-off-by: Zheng Bin <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c index 0a880bc101b8..ed30fb48b9db 100644 --- a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c @@ -1240,8 +1240,8 @@ static int uvd_v6_0_process_interrupt(struct amdgpu_device *adev, break; } - if (false == int_handled) - DRM_ERROR("Unhandled interrupt: %d %d\n", + if (!int_handled) + DRM_ERROR("Unhandled interrupt: %d %d\n", entry->src_id, entry->src_data[0]); return 0; |
