drm/amdgpu: fix mismatch warning between the prototype and function name
Subsystems (3)
PATCH 1/1 drm/amdgpu: fix mismatch warning between the prototype and function name
Fix the typo to align with the prototype and function name.
All warnings (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:631: warning: expecting
prototype for amdgpu_fence_clear_job_fences(). Prototype was for amdgpu_fence_driver_clear_job_fences() instead
Reported-by kernel test robot <[email protected]>
Signed-off-by Huang Rui <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +1 -1
@@ -622,7 +622,7 @@ void amdgpu_fence_driver_hw_init(struct amdgpu_device *adev) }/** -* amdgpu_fence_clear_job_fences - clear job embedded fences of ring +* amdgpu_fence_driver_clear_job_fences - clear job embedded fences of ring * * @ring: fence of the ring to be cleared *
Signature · 1 line
2.25.1
Am 16.12.21 um 05:39 schrieb Huang Rui:
Quoted 10 lines
Fix the typo to align with the prototype and function name.
All warnings (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:631: warning: expectingprototype for
amdgpu_fence_clear_job_fences(). Prototype was foramdgpu_fence_driver_clear_job_fences()insteadReported-by kernel test robot <[email protected]>Signed-off-by Huang Rui <[email protected]>
Reviewed-by Christian König <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +1
-1@@ -622,7 +622,7 @@ void amdgpu_fence_driver_hw_init(struct amdgpu_device *adev) }/** -* amdgpu_fence_clear_job_fences - clear job embedded fences of ring +* amdgpu_fence_driver_clear_job_fences - clear job embedded fences of ring * * @ring: fence of the ring to be cleared *