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: <36DD6436DDFA21E6+20250214095523.175229-2-wangyuli@uniontech.com>
Date: Fri, 14 Feb 2025 17:55:23 +0800
From: WangYuli <wangyuli@...ontech.com>
To: wangyuli@...ontech.com
Cc: chenlinxuan@...ontech.com,
	guanwentao@...ontech.com,
	linux-kernel@...r.kernel.org,
	linux-mips@...r.kernel.org,
	macro@...am.me.uk,
	masahiroy@...nel.org,
	niecheng1@...ontech.com,
	tsbogend@...ha.franken.de,
	zhanjun@...ontech.com
Subject: [PATCH v2 2/2] MIPS: Eliminate Redundant KBUILD_SYM32 Checks

Given that KBUILD_SYM32=y is a prerequisite for this statement to be
executed, it's logically redundant to verify KBUILD_SYM32 is y again.

Signed-off-by: WangYuli <wangyuli@...ontech.com>
---
 arch/mips/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 4d8339d2f20f..005174ae3892 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -302,7 +302,7 @@ ifdef CONFIG_64BIT
   endif
 
   ifeq ($(KBUILD_SYM32), y)
-    cflags-$(KBUILD_SYM32) += -msym32 -DKBUILD_64BIT_SYM32
+    cflags-y += -msym32 -DKBUILD_64BIT_SYM32
   else
 # Do not fiddle with the compilation flags when no compiler is
 # going to be used. To get rid of spurious errors.
-- 
2.47.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ