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-next>] [day] [month] [year] [list]
Message-Id: <20210118172558.19426-1-tingyi364@gmail.com>
Date:   Tue, 19 Jan 2021 01:25:58 +0800
From:   Isaac Chen <tingyi364@...il.com>
To:     TonyWWang-oc@...oxin.com
Cc:     linux-kernel@...r.kernel.org, Isaac Chen <tingyi364@...il.com>
Subject: [PATCH] x86/cpu/zhaoxin: Fix wrong lowercase naming and indent

This is printed during kernel boot, match it with other supported x86 cpus.
    [    0.000000] KERNEL supported cpus:
    [    0.000000]   Intel GenuineIntel
    [    0.000000]   AMD AuthenticAMD
    [    0.000000]   Hygon HygonGenuine
    [    0.000000]   Centaur CentaurHauls
    [    0.000000]   zhaoxin   Shanghai

Signed-off-by: Isaac Chen <tingyi364@...il.com>
---
 arch/x86/kernel/cpu/zhaoxin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/zhaoxin.c b/arch/x86/kernel/cpu/zhaoxin.c
index 05fa4ef63490..f155bbd2aa97 100644
--- a/arch/x86/kernel/cpu/zhaoxin.c
+++ b/arch/x86/kernel/cpu/zhaoxin.c
@@ -120,8 +120,8 @@ zhaoxin_size_cache(struct cpuinfo_x86 *c, unsigned int size)
 #endif
 
 static const struct cpu_dev zhaoxin_cpu_dev = {
-	.c_vendor	= "zhaoxin",
-	.c_ident	= { "  Shanghai  " },
+	.c_vendor	= "Zhaoxin",
+	.c_ident	= { "Shanghai" },
 	.c_early_init	= early_init_zhaoxin,
 	.c_init		= init_zhaoxin,
 #ifdef CONFIG_X86_32
-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ