[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] xen/riscv: sbi: fix kernel-doc parameter annotations



sbi_remote_sfence_vma() uses @hart_mask, while sbi_remote_hfence_gvma()
and sbi_remote_hfence_gvma_vmid() uses @cpu_mask without the @param
prefix. Fix and make all three consistent.

No functional change.

Signed-off-by: Hiago De Franco <hfranco@xxxxxxxxxxxx>
---
 xen/arch/riscv/include/asm/sbi.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xen/arch/riscv/include/asm/sbi.h b/xen/arch/riscv/include/asm/sbi.h
index 2a245d0b42..c585845907 100644
--- a/xen/arch/riscv/include/asm/sbi.h
+++ b/xen/arch/riscv/include/asm/sbi.h
@@ -99,7 +99,7 @@ bool sbi_has_rfence(void);
  * Returns 0 if IPI was sent to all the targeted harts successfully
  * or negative value if start_addr or size is not valid.
  *
- * @hart_mask a cpu mask containing all the target harts.
+ * @param cpu_mask a cpu mask containing all the target CPUs (in Xen space).
  * @param start virtual address start
  * @param size virtual address range size
  */
@@ -118,7 +118,7 @@ int sbi_remote_sfence_vma(const cpumask_t *cpu_mask, 
vaddr_t start,
  *  - start_addr and size are both 0, or
  *  - size is equal to 2^XLEN-1.
  *
- * @cpu_mask a cpu mask containing all the target CPUs (in Xen space).
+ * @param cpu_mask a cpu mask containing all the target CPUs (in Xen space).
  * @param start virtual address start
  * @param size virtual address range size
  */
@@ -130,7 +130,7 @@ int sbi_remote_hfence_gvma(const cpumask_t *cpu_mask, 
vaddr_t start,
  * instructions, covering the range of guest physical addresses
  * in [start_addr, start_addr + size) only for the given VMID.
  *
- * @cpu_mask a cpu mask containing all the target CPUs (in Xen space).
+ * @param cpu_mask a cpu mask containing all the target CPUs (in Xen space).
  * @param start virtual address start
  * @param size virtual address range size
  * @param vmid virtual machine id

---
base-commit: aa6070d2c840301bceae28763d20a32c48f0d3e4
change-id: 20261117-riscv-kernel-doc-fix-39926007bff4

Best regards,
--  
Hiago




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.