drm/gpusvm: Fix documentation build errors by updating names
Subsystems (3)
PATCH 1/1 drm/gpusvm: Fix documentation build errors by updating names
Fix the two following documentation build errors which were introduced when drivers/gpu/drm/drm_gpusvm.c was refactored but when updating the corresponding documentation, the variable and function names were not also updated as well.
WARNING: ./drivers/gpu/drm/drm_gpusvm.c:1229 function parameter 'svm_pages' not described in 'drm_gpusvm_pages_valid_unlocked' WARNING: ./drivers/gpu/drm/drm_gpusvm.c:1229 expecting prototype for drm_gpusvm_range_pages_valid_unlocked(). Prototype was for drm_gpusvm_pages_valid_unlocked() instead
Signed-off-by Yicong Hui <[email protected]>
--- drivers/gpu/drm/drm_gpusvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/drm_gpusvm.c +2 -2
@@ -1216,9 +1216,9 @@ 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 range 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.
Signature · 1 line
2.52.0