public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: fix mismatch warning between the prototype and function name
@ 2021-12-16  4:39 Huang Rui
  2021-12-16  8:19 ` Christian König
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Rui @ 2021-12-16  4:39 UTC (permalink / raw)
  To: dri-devel, Christian König, Daniel Vetter, Sumit Semwal
  Cc: amd-gfx, linux-media, Alex Deucher, Monk Liu, Andrey Grodzovsky,
	Huang Rui, kernel test robot

Fix the typo to align with the prototype and function name.

All warnings (new ones prefixed by >>):

>> 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 <lkp@intel.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
index db41d16838b9..9afd11ca2709 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
@@ -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
  *
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-16  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16  4:39 [PATCH] drm/amdgpu: fix mismatch warning between the prototype and function name Huang Rui
2021-12-16  8:19 ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox