drm/amdgpu: Fix create_dmamap_sg_bo kdoc warnings
Subsystems (3)
PATCH v2 1/1 drm/amdgpu: Fix create_dmamap_sg_bo kdoc warnings
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 <[email protected]>
Cc Christian König <[email protected]>
Cc Alex Deucher <[email protected]>
Signed-off-by Srinivasan Shanmugam <[email protected]>
---
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(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +2 -1
@@ -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
Signature · 1 line
2.25.1
Quoted 8 lines · Srinivasan Shanmugam
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 aamdgpu_boobject to reflect informationCc Felix Kuehling <[email protected]>Cc Christian König <[email protected]>Cc Alex Deucher <[email protected]>Signed-off-by Srinivasan Shanmugam <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Quoted 23 lines
---
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(-)drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +2
-1@@ -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