xen/riscv: sbi: fix kernel-doc parameter annotations
PATCH 1/1 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 <[email protected]>
--- xen/arch/riscv/include/asm/sbi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
xen/arch/riscv/include/asm/sbi.h +3 -3
@@ -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,
Signature · 1 line
Hiago
Lgtm, thanks!
Reviewed-by Baptiste Le Duc <[email protected]>
Quoted 50 lines · Hiago De Franco
sbi_remote_sfence_vma()uses @hart_mask, whilesbi_remote_hfence_gvma()andsbi_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 <[email protected]>--- xen/arch/riscv/include/asm/sbi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)xen/arch/riscv/include/asm/sbi.h +3
-4@@ -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-39926007bff4Best regards,
--
Hiago