Skip to content

Commit 74b6e83

Browse files
committed
drm/gpusvm: Fix drm_gpusvm_pages_valid_unlocked() kernel-doc
The kernel-doc for drm_gpusvm_pages_valid_unlocked() was stale and still referenced old range-based arguments and naming. Update the documentation to match the current function arguments and signature. Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patch.msgid.link/20260219205029.1011336-1-matthew.brost@intel.com
1 parent 901ec34 commit 74b6e83

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/gpu/drm/drm_gpusvm.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,14 +1338,14 @@ bool drm_gpusvm_range_pages_valid(struct drm_gpusvm *gpusvm,
13381338
EXPORT_SYMBOL_GPL(drm_gpusvm_range_pages_valid);
13391339

13401340
/**
1341-
* drm_gpusvm_range_pages_valid_unlocked() - GPU SVM range pages valid unlocked
1341+
* drm_gpusvm_pages_valid_unlocked() - GPU SVM pages valid unlocked
13421342
* @gpusvm: Pointer to the GPU SVM structure
1343-
* @range: Pointer to the GPU SVM range structure
1343+
* @svm_pages: Pointer to the GPU SVM pages structure
13441344
*
1345-
* This function determines if a GPU SVM range pages are valid. Expected be
1346-
* called without holding gpusvm->notifier_lock.
1345+
* This function determines if a GPU SVM pages are valid. Expected be called
1346+
* without holding gpusvm->notifier_lock.
13471347
*
1348-
* Return: True if GPU SVM range has valid pages, False otherwise
1348+
* Return: True if GPU SVM pages are valid, False otherwise
13491349
*/
13501350
static bool drm_gpusvm_pages_valid_unlocked(struct drm_gpusvm *gpusvm,
13511351
struct drm_gpusvm_pages *svm_pages)

0 commit comments

Comments
 (0)