Skip to content

Commit f779d2c

Browse files
rddunlapoupton
authored andcommitted
KVM: arm64: vgic-its: fix kernel-doc warnings
Correct the function parameter name "@save tables" -> "@save_tables". Use the "typedef" keyword in the kernel-doc comment for a typedef. These changes prevent kernel-doc warnings: vgic/vgic-its.c:174: warning: Function parameter or struct member 'save_tables' not described in 'vgic_its_abi' arch/arm64/kvm/vgic/vgic-its.c:2152: warning: expecting prototype for entry_fn_t(). Prototype was for int() instead Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Marc Zyngier <maz@kernel.org> Cc: Oliver Upton <oliver.upton@linux.dev> Cc: James Morse <james.morse@arm.com> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Zenghui Yu <yuzenghui@huawei.com> Cc: linux-arm-kernel@lists.infradead.org Cc: kvmarm@lists.linux.dev Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will@kernel.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20240117230714.31025-10-rdunlap@infradead.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
1 parent dd609a5 commit f779d2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/kvm/vgic/vgic-its.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ struct vgic_translation_cache_entry {
158158
* @cte_esz: collection table entry size
159159
* @dte_esz: device table entry size
160160
* @ite_esz: interrupt translation table entry size
161-
* @save tables: save the ITS tables into guest RAM
161+
* @save_tables: save the ITS tables into guest RAM
162162
* @restore_tables: restore the ITS internal structs from tables
163163
* stored in guest RAM
164164
* @commit: initialize the registers which expose the ABI settings,
@@ -2139,7 +2139,7 @@ static u32 compute_next_eventid_offset(struct list_head *h, struct its_ite *ite)
21392139
}
21402140

21412141
/**
2142-
* entry_fn_t - Callback called on a table entry restore path
2142+
* typedef entry_fn_t - Callback called on a table entry restore path
21432143
* @its: its handle
21442144
* @id: id of the entry
21452145
* @entry: pointer to the entry

0 commit comments

Comments
 (0)