mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] gpu/buddy: drop stale @p from gpu_buddy_print() kernel-doc
@ 2026-10-04 23:52 Rosen Penev
  2026-10-05  0:59 ` Joel Fernandes
  0 siblings, 1 reply; 2+ messages in thread
From: Rosen Penev @ 2026-10-04 23:52 UTC (permalink / raw)
  To: dri-devel
  Cc: Matthew Auld, Arun Pravin, Joel Fernandes, David Airlie,
	Simona Vetter, Dave Airlie, open list

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@gmail.com>
---
 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)
 {
-- 
2.56.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpu/buddy: drop stale @p from gpu_buddy_print() kernel-doc
  2026-10-04 23:52 [PATCH] gpu/buddy: drop stale @p from gpu_buddy_print() kernel-doc Rosen Penev
@ 2026-10-05  0:59 ` Joel Fernandes
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Fernandes @ 2026-10-05  0:59 UTC (permalink / raw)
  To: Rosen Penev, dri-devel
  Cc: Matthew Auld, Arun Pravin, David Airlie, Simona Vetter,
	Dave Airlie, open list



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@gmail.com>
> ---
>  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@nvidia.com>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-05  0:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-04 23:52 [PATCH] gpu/buddy: drop stale @p from gpu_buddy_print() kernel-doc Rosen Penev
2026-10-05  0:59 ` Joel Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®