[PATCH] x86_64: Fix typo in ifunc-impl-list.c.

H.J. Lu hjl.tools@gmail.com
Tue May 20 21:05:12 GMT 2025


On Wed, May 21, 2025 at 3:23 AM Sunil K Pandey <sunil.k.pandey@intel.com> wrote:
>
> Fix wcsncpy and wcpncpy typo in ifunc-impl-list.c.
> ---
>  sysdeps/x86_64/multiarch/ifunc-impl-list.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sysdeps/x86_64/multiarch/ifunc-impl-list.c b/sysdeps/x86_64/multiarch/ifunc-impl-list.c
> index a8349775df..c2dcadd1a9 100644
> --- a/sysdeps/x86_64/multiarch/ifunc-impl-list.c
> +++ b/sysdeps/x86_64/multiarch/ifunc-impl-list.c
> @@ -922,7 +922,7 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
>                                      (CPU_FEATURE_USABLE (AVX2)
>                                       && CPU_FEATURE_USABLE (BMI2)),
>                                      __wcsncpy_avx2)
> -             X86_IFUNC_IMPL_ADD_V2 (array, i, wcpncpy,
> +             X86_IFUNC_IMPL_ADD_V2 (array, i, wcsncpy,
>                                      1,
>                                      __wcsncpy_generic))
>
> @@ -952,7 +952,7 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array,
>                                      (CPU_FEATURE_USABLE (AVX2)
>                                       && CPU_FEATURE_USABLE (BMI2)),
>                                      __wcpncpy_avx2)
> -             X86_IFUNC_IMPL_ADD_V2 (array, i, wcsncpy,
> +             X86_IFUNC_IMPL_ADD_V2 (array, i, wcpncpy,
>                                      1,
>                                      __wcpncpy_generic))
>
> --
> 2.49.0
>

LGTM.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Thanks.

-- 
H.J.


More information about the Libc-alpha mailing list