[PATCH] ARM: export __memset/__memcpy/__memmove

Florian Fainelli f.fainelli at gmail.com
Sun Jun 22 13:29:22 PDT 2025



On 20/06/2025 04:12, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> When KASAN is locally disabled for one file, the string functions
> get redirected to internal helpers, but those are not actually exported,
> so this only works in built-in code but fails for loadable modules:
> 
> ERROR: modpost: "__memset" [crypto/ecc.ko] undefined!
> ERROR: modpost: "__memcpy" [crypto/ecc.ko] undefined!
> 
> Add the missig exports.
> 
> Fixes: d6d51a96c7d6 ("ARM: 9014/2: Replace string mem* functions for KASan")
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian




More information about the linux-arm-kernel mailing list