From: Srinivasan Shanmugam Date: Wed, 31 May 2023 18:03:35 +0000 (+0530) Subject: drm/amdgpu: Add function parameter 'event' to kdoc in svm_range_evict() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=16cc3a221537bb3588ec2a568d7bd0e7972b25a8;p=linux.git drm/amdgpu: Add function parameter 'event' to kdoc in svm_range_evict() Fixes the following gcc with W=1: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c:1841: warning: Function parameter or member 'event' not described in 'svm_range_evict' Cc: Felix Kuehling Cc: Christian König Cc: Alex Deucher Signed-off-by: Srinivasan Shanmugam Reviewed-by: Felix Kuehling Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c index 9c88d6e90c3b5..615eab3f78c93 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c @@ -1826,6 +1826,7 @@ out_reschedule: * @mm: current process mm_struct * @start: starting process queue number * @last: last process queue number + * @event: mmu notifier event when range is evicted or migrated * * Stop all queues of the process to ensure GPU doesn't access the memory, then * return to let CPU evict the buffer and proceed CPU pagetable update.