Re: [PATCH] gpu/buddy: drop stale @p from gpu_buddy_print() kernel-doc

From: Joel Fernandes

Date: Sun Oct 04 2026 - 20:59:47 EST




On 10/4/2026 7:52 PM, Rosen Penev wrote:
> gpu_buddy_print() lost its printer argument when the buddy allocator
> moved out of DRM and now prints with pr_info(), but the kernel-doc
> still describes @p:
>
> buddy.c:2153 Excess function parameter 'p' description in 'gpu_buddy_print'
>
> Remove the stale line.
>
> Fixes: ba110db8e1bc ("gpu: Move DRM buddy allocator one level up (part two)")
> Assisted-by: LLM
> Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
> ---
> drivers/gpu/buddy.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/buddy.c b/drivers/gpu/buddy.c
> index 2f2aaadafe35..503f7d5934e4 100644
> --- a/drivers/gpu/buddy.c
> +++ b/drivers/gpu/buddy.c
> @@ -2148,7 +2148,6 @@ EXPORT_SYMBOL(gpu_buddy_block_print);
> * gpu_buddy_print - print allocator state
> *
> * @mm: GPU buddy manager
> - * @p: GPU printer to use
> */
> void gpu_buddy_print(struct gpu_buddy *mm)
> {

Reviewed-by: Joel Fernandes <joelagnelf@xxxxxxxxxx>