Re: [PATCH] gcc-plugins: Use swap() to simplify code

2025-08-06 Thread kernel test robot
/scm/linux/kernel/git/kees/linux.git for-next/hardening patch link: https://lore.kernel.org/r/20250806124341.382446-1-liaoyuanhong%40vivo.com patch subject: [PATCH] gcc-plugins: Use swap() to simplify code config: i386-randconfig-012-20250807 (https://download.01.org/0day-ci/archive/20250807/20

[PATCH] gcc-plugins: Use swap() to simplify code

2025-08-06 Thread Liao Yuanhong
Replace the original swapping logic with swap() to improve readability and remove temporary variables Signed-off-by: Liao Yuanhong --- scripts/gcc-plugins/randomize_layout_plugin.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/scripts/gcc-plugins/randomize