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: <20240315015347.2259-1-jiapeng.chong@linux.alibaba.com>
Date: Fri, 15 Mar 2024 09:53:47 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: keescook@...omium.org
Cc: elver@...gle.com,
	andreyknvl@...il.com,
	ryabinin.a.a@...il.com,
	akpm@...ux-foundation.org,
	kasan-dev@...glegroups.com,
	linux-hardening@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>,
	Abaci Robot <abaci@...ux.alibaba.com>
Subject: [PATCH] ubsan: Remove unused function

The function are defined in the test_ubsan.c file, but not called
elsewhere, so delete the unused function.

lib/test_ubsan.c:137:28: warning: unused variable 'skip_ubsan_array'.

Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8541
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
 lib/test_ubsan.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/test_ubsan.c b/lib/test_ubsan.c
index 276c12140ee2..be335a93224f 100644
--- a/lib/test_ubsan.c
+++ b/lib/test_ubsan.c
@@ -133,11 +133,6 @@ static const test_ubsan_fp test_ubsan_array[] = {
 	test_ubsan_misaligned_access,
 };
 
-/* Excluded because they Oops the module. */
-static const test_ubsan_fp skip_ubsan_array[] = {
-	test_ubsan_divrem_overflow,
-};
-
 static int __init test_ubsan_init(void)
 {
 	unsigned int i;
-- 
2.20.1.7.g153144c


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ