On 2023-05-29 15:22, Srinivasan Shanmugam wrote:
Fix the following gcc with W=1:

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c:292: warning: Cannot 
understand  * @create_dmamap_sg_bo: Creates a amdgpu_bo object to reflect 
information

Cc: Felix Kuehling <felix.kuehl...@amd.com>
Cc: Christian König <christian.koe...@amd.com>
Cc: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmu...@amd.com>

Reviewed-by: Felix Kuehling <felix.kuehl...@amd.com>


---

v2:
  - Fix "@create_dmamap_sg_bo:" format (Felix)

  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
index cd5d7a39ad0c..e73cbe126286 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
@@ -292,8 +292,9 @@ void amdgpu_amdkfd_release_notify(struct amdgpu_bo *bo)
  }
/**
- * @create_dmamap_sg_bo: Creates a amdgpu_bo object to reflect information
+ * create_dmamap_sg_bo() - Creates a amdgpu_bo object to reflect information
   * about USERPTR or DOOREBELL or MMIO BO.
+ *
   * @adev: Device for which dmamap BO is being created
   * @mem: BO of peer device that is being DMA mapped. Provides parameters
   *     in building the dmamap BO

Reply via email to