diff mbox series

wireguard: selftests: Cleanup CONFIG_UBSAN_SANITIZE_ALL

Message ID F0F29BE7BB89FAAF+20250123044923.161871-1-wangyuli@uniontech.com (mailing list archive)
State Not Applicable
Headers show
Series wireguard: selftests: Cleanup CONFIG_UBSAN_SANITIZE_ALL | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

WangYuli Jan. 23, 2025, 4:49 a.m. UTC
Commit 918327e9b7ff ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL")
removed the CONFIG_UBSAN_SANITIZE_ALL configuration option.
Eliminate invalid configurations to improve code readability.

Signed-off-by: WangYuli <wangyuli@uniontech.com>
---
 tools/testing/selftests/wireguard/qemu/debug.config | 1 -
 1 file changed, 1 deletion(-)

Comments

Simon Horman Jan. 23, 2025, 10:57 a.m. UTC | #1
On Thu, Jan 23, 2025 at 12:49:23PM +0800, WangYuli wrote:
> Commit 918327e9b7ff ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL")
> removed the CONFIG_UBSAN_SANITIZE_ALL configuration option.
> Eliminate invalid configurations to improve code readability.
> 
> Signed-off-by: WangYuli <wangyuli@uniontech.com>

This looks good to me.

Reviewed-by: Simon Horman <horms@kernel.org>

And I see you also posted an patch to remove the only other in-tree
references from Documentation/translations/zh_CN/dev-tools/ubsan.rst [1].

Thanks.

[1] https://lore.kernel.org/all/6F05157E5E157493+20250123043258.149643-1-wangyuli@uniontech.com/
diff mbox series

Patch

diff --git a/tools/testing/selftests/wireguard/qemu/debug.config b/tools/testing/selftests/wireguard/qemu/debug.config
index 139fd9aa8b12..828f14300d0a 100644
--- a/tools/testing/selftests/wireguard/qemu/debug.config
+++ b/tools/testing/selftests/wireguard/qemu/debug.config
@@ -22,7 +22,6 @@  CONFIG_HAVE_ARCH_KASAN=y
 CONFIG_KASAN=y
 CONFIG_KASAN_INLINE=y
 CONFIG_UBSAN=y
-CONFIG_UBSAN_SANITIZE_ALL=y
 CONFIG_DEBUG_KMEMLEAK=y
 CONFIG_DEBUG_STACK_USAGE=y
 CONFIG_DEBUG_SHIRQ=y