drm/amd/amdgpu: Fix isp_user_buffer_alloc() warnings
Subsystems (2)
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'
--- 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
@@ -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
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")Reported-by kernel test robot <[email protected]>Signed-off-by Pratap Nirujogi <[email protected]>--- 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
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 *