Skip to contentSkip to conversation

cpu/hotplug: delete an extraneous kernel-doc description

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 14, 2024 – Jan 26, 2024 CPU hotplug

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpu/hotplug: delete an extraneous kernel-doc description

struct cpuhp_cpu_state has an extraneous kernel-doc comment for @cpu. There is no struct member by that name, so remove the comment to prevent the kernel-doc warning:

kernel/cpu.c:85: warning: Excess struct member 'cpu' description in 'cpuhp_cpu_state'

Cc Thomas Gleixner <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 kernel/cpu.c |    1 -
 1 file changed, 1 deletion(-)
kernel/cpu.c +0 -1
diff -- a/kernel/cpu.c b/kernel/cpu.c
@@ -54,7 +54,6 @@
  * @rollback:	Perform a rollback
  * @single:	Single callback invocation
  * @bringup:	Single callback bringup or teardown selector
- * @cpu:	CPU number
  * @node:	Remote CPU node; for multi-instance, do a
  *		single entry callback for install/remove
  * @last:	For multi-instance rollback, remember how far we got
merge bot Applied
#1 lore raw

[tip: smp/core] cpu/hotplug: Delete an extraneous kernel-doc description

The following commit has been merged into the smp/core branch of tip:

The following commit has been merged into the smp/core branch of tip:

Commit-ID:     ef7e585bf48013baabc00de1a15753dd7b626a2d
Gitweb:        https://git.kernel.org/tip/ef7e585bf48013baabc00de1a15753dd7b626a2d
Author:        Randy Dunlap <[email protected]>
AuthorDate:    Sat, 13 Jan 2024 19:06:15 -08:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Fri, 26 Jan 2024 17:44:42 +01:00

cpu/hotplug: Delete an extraneous kernel-doc description

struct cpuhp_cpu_state has an extraneous kernel-doc comment for @cpu. There is no struct member by that name, so remove the comment to prevent the kernel-doc warning:

kernel/cpu.c:85: warning: Excess struct member 'cpu' description in 'cpuhp_cpu_state'

---
 kernel/cpu.c | 1 -
 1 file changed, 1 deletion(-)
kernel/cpu.c +0 -1
index e6ec3ba..f059375 100644
@@ -54,7 +54,6 @@
  * @rollback:	Perform a rollback
  * @single:	Single callback invocation
  * @bringup:	Single callback bringup or teardown selector
- * @cpu:	CPU number
  * @node:	Remote CPU node; for multi-instance, do a
  *		single entry callback for install/remove
  * @last:	For multi-instance rollback, remember how far we got