summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-11-21 23:02:11 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-12-10 10:26:48 -0500
commit093bbeb994af5ac3f3affdfd73983dcbd19d9a17 (patch)
treee72706700ea4a1e83669875e505c4b4e311a6814 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentea8094abfb09163432208d3c9c9892d858441320 (diff)
downloadlinux-stable-093bbeb994af5ac3f3affdfd73983dcbd19d9a17.tar.gz
linux-stable-093bbeb994af5ac3f3affdfd73983dcbd19d9a17.tar.bz2
linux-stable-093bbeb994af5ac3f3affdfd73983dcbd19d9a17.zip
drm/amdgpu: Update the variable name to dma_buf
Instead of fixing the warning for missing variable its better to update the variable name to match with the style followed in the code. This will fix the below mentioned warning: 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@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 4e6d218839f9..4f057996ef35 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -373,14 +373,14 @@ EXPORT_SYMBOL(amdgpu_bo_create_kernel);
* 0 on success, negative error code otherwise.
*/
int amdgpu_bo_create_isp_user(struct amdgpu_device *adev,
- struct dma_buf *dbuf, u32 domain, struct amdgpu_bo **bo,
+ struct dma_buf *dma_buf, u32 domain, struct amdgpu_bo **bo,
u64 *gpu_addr)
{
struct drm_gem_object *gem_obj;
int r;
- gem_obj = amdgpu_gem_prime_import(&adev->ddev, dbuf);
+ gem_obj = amdgpu_gem_prime_import(&adev->ddev, dma_buf);
*bo = gem_to_amdgpu_bo(gem_obj);
if (!(*bo)) {
dev_err(adev->dev, "failed to get valid isp user bo\n");