lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250111-loongson64-boardinfo-no-size-v1-2-e9f26fcd069e@aosc.io>
Date: Sat, 11 Jan 2025 01:22:09 +0800
From: Kexy Biscuit <kexybiscuit@...c.io>
To: Huacai Chen <chenhuacai@...nel.org>, 
 Jiaxun Yang <jiaxun.yang@...goat.com>, 
 Thomas Bogendoerfer <tsbogend@...ha.franken.de>, 
 Tiezhu Yang <yangtiezhu@...ngson.cn>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org, 
 Kexy Biscuit <kexybiscuit@...c.io>, Icenowy Zheng <uwu@...nowy.me>
Subject: [PATCH 2/2] 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 <uwu@...nowy.me>
Signed-off-by: Kexy Biscuit <kexybiscuit@...c.io>
---
 arch/mips/include/asm/mach-loongson64/boot_param.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

-- 
2.48.0.rc2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ