Commit 04cef5f5 authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher
Browse files

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: default avatarShashank Sharma <shashank.sharma@amd.com>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a728342a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ void amdgpu_mm_wdoorbell64(struct amdgpu_device *adev, u32 index, u64 v)
 *
 * @adev: amdgpu_device pointer
 * @db_bo: doorbell object's bo
 * @db_index: doorbell relative index in this doorbell object
 * @doorbell_index: doorbell relative index in this doorbell object
 *
 * returns doorbell's absolute index in BAR
 */