OSDN Git Service

drm/amd/amdgpu/amdgpu_gmc: Demote one and fix another function header
authorLee Jones <lee.jones@linaro.org>
Fri, 13 Nov 2020 13:49:24 +0000 (13:49 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Nov 2020 22:29:47 +0000 (17:29 -0500)
commitff08711cfb957c7f0b5c0f9726cef437727a6ed9
tree68cb0229f53253c93593d75a4dc84bb63913cd19
parent20ed491bbb792bc86aadbbcc568c6072c0008d1e
drm/amd/amdgpu/amdgpu_gmc: Demote one and fix another function header

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:69: warning: Function parameter or member 'bo' not described in 'amdgpu_gmc_pd_addr'
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:121: warning: Function parameter or member 'bo' not described in 'amdgpu_gmc_agp_addr'
 drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c:121: warning: Excess function parameter 'tbo' description in 'amdgpu_gmc_agp_addr'

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c