diff mbox series

[2/2] MIPS: Loongson: Add comments for interface_info

Message ID 20250111-loongson64-boardinfo-no-size-v1-2-e9f26fcd069e@aosc.io (mailing list archive)
State Accepted
Commit a0088d4a08d1d9b3afc7e7c5734d367afb2530ff
Headers show
Series MIPS: Loongson64: Remove ROM Size in LEFI boardinfo | expand

Commit Message

Kexy Biscuit Jan. 10, 2025, 5:22 p.m. UTC
Clarify meanings of members of interface_info, especially for .size,
which does not define the ROM size.

Suggested-by: Icenowy Zheng <uwu@icenowy.me>
Signed-off-by: Kexy Biscuit <kexybiscuit@aosc.io>
---
 arch/mips/include/asm/mach-loongson64/boot_param.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/arch/mips/include/asm/mach-loongson64/boot_param.h b/arch/mips/include/asm/mach-loongson64/boot_param.h
index 9218b3ae338322d3cce47421c48d737c93858398..3a11ce85762be626a557ae867e5ee427ea355524 100644
--- a/arch/mips/include/asm/mach-loongson64/boot_param.h
+++ b/arch/mips/include/asm/mach-loongson64/boot_param.h
@@ -128,10 +128,10 @@  struct irq_source_routing_table {
 } __packed;
 
 struct interface_info {
-	u16 vers; /* version of the specificition */
-	u16 size;
-	u8  flag;
-	char description[64];
+	u16 vers; /* version of the specification */
+	u16 size; /* size of this interface */
+	u8  flag; /* used or unused */
+	char description[64]; /* description for each change */
 } __packed;
 
 #define MAX_RESOURCE_NUMBER 128