Skip to contentSkip to conversation

drm/amd/amdgpu: Fix isp_user_buffer_alloc() warnings

PATCH In review Pratap Nirujogi 2 participants 2 messages Jul 14, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/amdgpu: Fix isp_user_buffer_alloc() warnings

Fix the warnings:
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c:174: warning: Function parameter or struct member 'dmabuf' not described in 'isp_user_buffer_alloc' drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c:174: warning: Excess function parameter 'dma_buf' description in 'isp_user_buffer_alloc'

Fixes 5cab8cc383a5 ("drm/amd/amdgpu: Add helper functions for isp buffers")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c +1 -1
index f9cabeae1c717..9cddbf50442a4 100644
@@ -155,7 +155,7 @@ static int is_valid_isp_device(struct device *isp_parent, struct device *amdgpu_
  * isp_user_buffer_alloc - create user buffer object (BO) for isp
  *
  * @dev: isp device handle
- * @dma_buf: DMABUF handle for isp buffer allocated in system memory
+ * @dmabuf: DMABUF handle for isp buffer allocated in system memory
  * @buf_obj: GPU buffer object handle to initialize
  * @buf_addr: GPU addr of the pinned BO to initialize
  *
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Pratap Nirujogi

Fix the warnings:
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c:174: warning: Function parameter or struct member 'dmabuf' not described in 'isp_user_buffer_alloc' drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c:174: warning: Excess function parameter 'dma_buf' description in 'isp_user_buffer_alloc'

Fixes 5cab8cc383a5 ("drm/amd/amdgpu: Add helper functions for isp buffers")
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c +0 -0
index f9cabeae1c717..9cddbf50442a4 100644

drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c static int is_valid_isp_device(struct device *isp_parent, struct device *amdgpu_ · line 161

Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c +1 -1
@@ -155,7 +155,7 @@ static int is_valid_isp_device(struct device *isp_parent, struct device *amdgpu_
   * isp_user_buffer_alloc - create user buffer object (BO) for isp
   *
   * @dev: isp device handle
- * @dma_buf: DMABUF handle for isp buffer allocated in system memory
+ * @dmabuf: DMABUF handle for isp buffer allocated in system memory
   * @buf_obj: GPU buffer object handle to initialize
   * @buf_addr: GPU addr of the pinned BO to initialize
   *