[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <67b9cfd5-b06f-48a3-9d26-c3fa3ab867ad@gmail.com>
Date: Sun, 22 Jun 2025 13:29:22 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Arnd Bergmann <arnd@...nel.org>, Russell King <linux@...linux.org.uk>
Cc: Arnd Bergmann <arnd@...db.de>, Abbott Liu <liuwenliang@...wei.com>,
Ard Biesheuvel <ardb@...nel.org>, Linus Walleij <linus.walleij@...aro.org>,
Ahmad Fatoum <a.fatoum@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: export __memset/__memcpy/__memmove
On 20/06/2025 04:12, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.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@...db.de>
Acked-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists