Re: [PATCH v6 5/5] drm/pagemap: Fix drm_pagemap_migrate_unmap_pages kerneldoc

Francois Dugast
2026-04-09T09:58:47Z

On Wed, Apr 08, 2026 at 01:15:37PM -0700, Matthew Brost wrote:
> 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 <francois.dugast@intel.com>
> Signed-off-by: Matthew Brost <matthew.brost@intel.com>

Reviewed-by: Francois Dugast <francois.dugast@intel.com>

> ---
> drivers/gpu/drm/drm_pagemap.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_pagemap.c b/drivers/gpu/drm/drm_pagemap.c
> index ed62866b52f6..172e8e81a71c 100644
> --- a/drivers/gpu/drm/drm_pagemap.c
> +++ b/drivers/gpu/drm/drm_pagemap.c
> @@ -397,8 +397,9 @@ drm_pagemap_migrate_map_system_pages(struct device *dev,
> * @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,
> --
> 2.34.1
>