]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
m68k: Remove arch-specific strncpy() implementation
authorKees Cook <kees@kernel.org>
Mon, 23 Mar 2026 01:16:06 +0000 (01:16 +0000)
committerKees Cook <kees@kernel.org>
Thu, 18 Jun 2026 23:37:12 +0000 (16:37 -0700)
commitad3242a9acaa01cc9ecc6e483341697ca4f77461
tree956688ab040c84755d3ec572b6971cd670913445
parent4cb5e246e65cd497155370bbca54c8f5e3a4105f
m68k: Remove arch-specific strncpy() implementation

strncpy() has no remaining callers in the kernel[1]. Remove the
m68k-specific inline assembly implementation and __HAVE_ARCH_STRNCPY
define, falling back to the generic version in lib/string.c.

Link: https://github.com/KSPP/linux/issues/90
Signed-off-by: Kees Cook <kees@kernel.org>
arch/m68k/include/asm/string.h