[PATCH] drm/amd/amdgpu: Fix isp_user_buffer_alloc() warnings

Pratap Nirujogi pratap.nirujogi at amd.com
Mon Jul 14 16:05:55 UTC 2025


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")
Reported-by: kernel test robot <lkp at intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202507131324.TKf4iSOn-lkp@intel.com/
Signed-off-by: Pratap Nirujogi <pratap.nirujogi at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
index f9cabeae1c717..9cddbf50442a4 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
@@ -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
  *
-- 
2.43.0



More information about the amd-gfx mailing list