[PATCH v1 1/2] drm/amdgpu: fix the variable name in comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix the variable name in comments to clean up the
warning in amdgpu_bo_create_isp_user.

warning: Function parameter or struct member 'dbuf' not described in 'amdgpu_bo_create_isp_user'
warning: Excess function parameter 'dma_buf' description in 'amdgpu_bo_create_isp_user'

Signed-off-by: Sunil Khatri <sunil.khatri@xxxxxxx>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 4e6d218839f9..89d84820e4b0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -357,7 +357,7 @@ EXPORT_SYMBOL(amdgpu_bo_create_kernel);
  * amdgpu_bo_create_isp_user - create user BO for isp
  *
  * @adev: amdgpu device object
- * @dma_buf: DMABUF handle for isp buffer
+ * @dbuf: DMABUF handle for isp buffer
  * @domain: where to place it
  * @bo:  used to initialize BOs in structures
  * @gpu_addr: GPU addr of the pinned BO
-- 
2.34.1




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux