]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM: vexpress/spc: Fix kernel-doc build warning for ve_spc_cpu_in_wfi
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 4 Apr 2022 13:02:06 +0000 (14:02 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 7 Apr 2022 09:48:52 +0000 (10:48 +0100)
Kbuild bot reported the following kernel-doc build warning:

  |  arch/arm/mach-versatile/spc.c:231: warning: This comment starts with
  | '/**', but isn't a kernel-doc comment.
  | Refer Documentation/doc-guide/kernel-doc.rst
  |   * ve_spc_cpu_in_wfi(u32 cpu, u32 cluster)

Fix the issue by dropping the parameters specified in the kernel doc.

Link: https://lore.kernel.org/linux-doc/202204031026.4ogKxt89-lkp@intel.com
Link: https://lore.kernel.org/r/20220404130207.1162445-1-sudeep.holla@arm.com
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm/mach-vexpress/spc.c

index 1c6500c4e6a1768c0bde6fa36b892dab39ac2498..8f99d47d4b89be4ef2bf083e9d12d2937a6c43ae 100644 (file)
@@ -228,7 +228,7 @@ static u32 standbywfi_cpu_mask(u32 cpu, u32 cluster)
 }
 
 /**
- * ve_spc_cpu_in_wfi(u32 cpu, u32 cluster)
+ * ve_spc_cpu_in_wfi()
  *
  * @cpu: mpidr[7:0] bitfield describing CPU affinity level within cluster
  * @cluster: mpidr[15:8] bitfield describing cluster affinity level