From: Kexy Biscuit Date: Fri, 10 Jan 2025 17:22:09 +0000 (+0800) Subject: MIPS: Loongson: Add comments for interface_info X-Git-Tag: v6.14-rc1~73^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0088d4a08d1d9b3afc7e7c5734d367afb2530ff;p=thirdparty%2Fkernel%2Flinux.git MIPS: Loongson: Add comments for interface_info Clarify meanings of members of interface_info, especially for .size, which does not define the ROM size. Suggested-by: Icenowy Zheng Signed-off-by: Kexy Biscuit Acked-by: Jiaxun Yang Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/include/asm/mach-loongson64/boot_param.h b/arch/mips/include/asm/mach-loongson64/boot_param.h index 9218b3ae33832..3a11ce85762be 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