From: Lee Jones Date: Thu, 12 Nov 2020 19:00:15 +0000 (+0000) Subject: drm/amd/amdgpu/amdgpu_kms: Fix misnaming of parameter 'dev' X-Git-Tag: v5.15~2259^2^2~362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8970b698b0cee42da523b7c02ed6fe0567932b2a;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/amdgpu/amdgpu_kms: Fix misnaming of parameter 'dev' Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:487: warning: Function parameter or member 'dev' not described in 'amdgpu_info_ioctl' drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:487: warning: Excess function parameter 'adev' description in 'amdgpu_info_ioctl' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index ef6fa50..705b653 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -475,7 +475,7 @@ static int amdgpu_hw_ip_info(struct amdgpu_device *adev, /** * amdgpu_info_ioctl - answer a device specific request. * - * @adev: amdgpu device pointer + * @dev: drm device pointer * @data: request object * @filp: drm filp *