drm/amdgpu: Fix kdoc entry in 'amdgpu_vm_cpu_prepare'
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Wed, 4 Sep 2024 07:31:13 +0000 (13:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Sep 2024 17:44:29 +0000 (13:44 -0400)
commitb8faa981a7e62848ca4ba1c77282dfdc71d0edf5
treed6649d892d3de6c186e1345905421fcb68c70395
parent3d5adbdf1d01708777f2eda375227cbf7a98b9fe
drm/amdgpu: Fix kdoc entry in 'amdgpu_vm_cpu_prepare'

This commit updates described non-existent parameters 'resv' and
'sync_mode', and failed to describe the existing 'sync' parameter.

Fixes the below with gcc W=1:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Function parameter or struct member 'sync' not described in 'amdgpu_vm_cpu_prepare'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Excess function parameter 'resv' description in 'amdgpu_vm_cpu_prepare'
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c:50: warning: Excess function parameter 'sync_mode' description in 'amdgpu_vm_cpu_prepare'

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c