From: Matthew Brost Date: Fri, 10 Apr 2026 20:59:29 +0000 (-0700) Subject: drm/pagemap: Fix drm_pagemap_migrate_unmap_pages kerneldoc X-Git-Tag: v7.2-rc1~141^2~26^2~108 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5f183b0588eb508ab49022e26923d91698447226;p=thirdparty%2Flinux.git drm/pagemap: Fix drm_pagemap_migrate_unmap_pages kerneldoc Replace @dma_addr with @pagemap_addr in the function documentation, as @pagemap_addr is the actual name of the function argument. Suggested-by: Francois Dugast Signed-off-by: Matthew Brost Reviewed-by: Francois Dugast Link: https://patch.msgid.link/20260410205929.3914474-6-matthew.brost@intel.com --- diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c index bd2037c77c929..d82ea7ccb8da2 100644 --- a/drivers/gpu/drm/drm_pagemap.c +++ b/drivers/gpu/drm/drm_pagemap.c @@ -397,8 +397,9 @@ next: * @state: DMA IOVA state for mapping. * * This function unmaps previously mapped pages of memory for GPU Shared Virtual - * Memory (SVM). It iterates over each DMA address provided in @dma_addr, checks - * if it's valid and not already unmapped, and unmaps the corresponding page. + * Memory (SVM). It iterates over each DMA address provided in @pagemap_addr, + * checks if it's valid and not already unmapped, and unmaps the corresponding + * page. */ static void drm_pagemap_migrate_unmap_pages(struct device *dev, struct drm_pagemap_addr *pagemap_addr,