mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
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>
This commit is contained in:
parent
ea8094abfb
commit
093bbeb994
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user