Blame SOURCES/ia-test_name-string-tst-strncmp-rtm.patch

513694
From 985c2ec17c739b506311000a3932a8f8491b4001 Mon Sep 17 00:00:00 2001
513694
From: Noah Goldstein <goldstein.w.n@gmail.com>
513694
Date: Fri, 18 Feb 2022 17:00:25 -0600
513694
Subject: [PATCH] x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c
513694
513694
Previously TEST_NAME was passing a function pointer. This didn't fail
513694
because of the -Wno-error flag (to allow for overflow sizes passed
513694
to strncmp/wcsncmp)
513694
513694
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
513694
(cherry picked from commit b98d0bbf747f39770e0caba7e984ce9f8f900330)
513694
---
513694
 sysdeps/x86/tst-strncmp-rtm.c | 4 ++--
513694
 1 file changed, 2 insertions(+), 2 deletions(-)
513694
513694
diff --git a/sysdeps/x86/tst-strncmp-rtm.c b/sysdeps/x86/tst-strncmp-rtm.c
513694
index 4e9f094f..aef9866c 100644
513694
--- a/sysdeps/x86/tst-strncmp-rtm.c
513694
+++ b/sysdeps/x86/tst-strncmp-rtm.c
513694
@@ -23,12 +23,12 @@
513694
 # define CHAR wchar_t
513694
 # define MEMSET wmemset
513694
 # define STRNCMP wcsncmp
513694
-# define TEST_NAME wcsncmp
513694
+# define TEST_NAME "wcsncmp"
513694
 #else /* !WIDE */
513694
 # define CHAR char
513694
 # define MEMSET memset
513694
 # define STRNCMP strncmp
513694
-# define TEST_NAME strncmp
513694
+# define TEST_NAME "strncmp"
513694
 #endif /* !WIDE */
513694
 
513694
 
513694
-- 
513694
GitLab
513694