Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/amdgpu/amdgpu_doorbell_mgr: Correct misdocumented param 'doorbell_index'

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

drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c:123: warning: Function parameter or member 'doorbell_index' not described in 'amdgpu_doorbell_index_on_bar'
drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c:123: warning: Excess function parameter 'db_index' description in 'amdgpu_doorbell_index_on_bar'

Reviewed-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Lee Jones and committed by
Alex Deucher
04cef5f5 a728342a

+1 -1
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_doorbell_mgr.c
··· 113 113 * 114 114 * @adev: amdgpu_device pointer 115 115 * @db_bo: doorbell object's bo 116 - * @db_index: doorbell relative index in this doorbell object 116 + * @doorbell_index: doorbell relative index in this doorbell object 117 117 * 118 118 * returns doorbell's absolute index in BAR 119 119 */