Skip to contentSkip to conversation

gpu: buddy: Drop the stale @p line from the gpu_buddy_print() kernel-doc

PATCH In review Karl Mehltretter 2 participants 3 messages Sep 7 – Oct 9

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

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

gpu_buddy_print() takes only the allocator since commit ba110db8e1bc ("gpu: Move DRM buddy allocator one level up (part two)"), but the kernel-doc still describes a printer argument and kernel-doc warns about the excess parameter on every docs build.

Drop the 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 a5553fcec28c..cc993909b79e 100644
@@ -1591,7 +1591,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.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 26 lines · Karl Mehltretter

gpu_buddy_print() takes only the allocator since commit ba110db8e1bc ("gpu: Move DRM buddy allocator one level up (part two)"), but the kernel-doc still describes a printer argument and kernel-doc warns about the excess parameter on every docs build.

Drop the 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 a5553fcec28c..cc993909b79e 100644
@@ -1591,7 +1591,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 lore raw

I have merged this patch into drm-misc-next.

Thanks,
Arun.

Quoted 30 lines · Arunpravin Paneer Selvam
Quoted 26 lines · Karl Mehltretter

gpu_buddy_print() takes only the allocator since commit ba110db8e1bc ("gpu: Move DRM buddy allocator one level up (part two)"), but the kernel-doc still describes a printer argument and kernel-doc warns about the excess parameter on every docs build.

Drop the 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 a5553fcec28c..cc993909b79e 100644
@@ -1591,7 +1591,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)
   {