]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/gpusvm: Fix drm_gpusvm_pages_valid_unlocked() kernel-doc
authorMatthew Brost <matthew.brost@intel.com>
Thu, 19 Feb 2026 20:50:29 +0000 (12:50 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Tue, 24 Feb 2026 17:25:36 +0000 (09:25 -0800)
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
drivers/gpu/drm/drm_gpusvm.c

index 24180bfdf5a27b86e2271a26b651e008bd30d4f5..9ef9e52c054739a815c296fe25d1eceb1cec2263 100644 (file)
@@ -1338,14 +1338,14 @@ bool drm_gpusvm_range_pages_valid(struct drm_gpusvm *gpusvm,
 EXPORT_SYMBOL_GPL(drm_gpusvm_range_pages_valid);
 
 /**
- * drm_gpusvm_range_pages_valid_unlocked() - GPU SVM range pages valid unlocked
+ * drm_gpusvm_pages_valid_unlocked() - GPU SVM pages valid unlocked
  * @gpusvm: Pointer to the GPU SVM structure
- * @range: Pointer to the GPU SVM range structure
+ * @svm_pages: Pointer to the GPU SVM pages structure
  *
- * This function determines if a GPU SVM range pages are valid. Expected be
- * called without holding gpusvm->notifier_lock.
+ * This function determines if a GPU SVM pages are valid. Expected be called
+ * without holding gpusvm->notifier_lock.
  *
- * Return: True if GPU SVM range has valid pages, False otherwise
+ * Return: True if GPU SVM pages are valid, False otherwise
  */
 static bool drm_gpusvm_pages_valid_unlocked(struct drm_gpusvm *gpusvm,
                                            struct drm_gpusvm_pages *svm_pages)