Skip to contentSkip to conversation

gpu/buddy: drop stale @p from gpu_buddy_print() kernel-doc

PATCH In review Rosen Penev 2 participants 2 messages Oct 4 – Oct 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

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
---
 drivers/gpu/buddy.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/buddy.c +0 -1
index 2f2aaadafe35..503f7d5934e4 100644
@@ -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)
 {
Signature · 1 line
2.56.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 20 lines · Rosen Penev

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
---
 drivers/gpu/buddy.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/buddy.c +0 -0
index 2f2aaadafe35..503f7d5934e4 100644

drivers/gpu/buddy.c EXPORT_SYMBOL(gpu_buddy_block_print); · line 2153

Quoted 7 lines
drivers/gpu/buddy.c +0 -1
@@ -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)
 {