Re: [PATCH] sparc: mark __arch_xchg() as __always_inline
From: Kees Cook
Date: Thu Jul 13 2023 - 13:55:44 EST
On Wed, 28 Jun 2023 11:49:18 +0200, Arnd Bergmann wrote:
> An otherwise correct change to the atomic operations uncovered an
> existing bug in the sparc __arch_xchg() function, which is calls
> __xchg_called_with_bad_pointer() when its arguments are unknown at
> compile time:
>
> ERROR: modpost: "__xchg_called_with_bad_pointer" [lib/atomic64_test.ko] undefined!
>
> [...]
Applied, thanks!
[1/1] sparc: mark __arch_xchg() as __always_inline
https://git.kernel.org/kees/c/ec7633de404e
Best regards,
--
Kees Cook