[PATCH v2] arm64/syscall: Remove duplicate declaration

Arnd Bergmann arnd at arndb.de
Thu Nov 9 08:16:32 PST 2023


On Thu, Nov 9, 2023, at 15:11, Kevin Brodsky wrote:
> Commit 6ac19f96515e ("arm64: avoid prototype warnings for syscalls")
> added missing declarations to various syscall wrapper macros. It
> however proved a little too zealous in __SYSCALL_DEFINEx(), as a
> declaration for __arm64_sys##name was already present. A declaration
> is required before the call to ALLOW_ERROR_INJECTION(), so keep
> the original one and remove the new one.
>
> Signed-off-by: Kevin Brodsky <kevin.brodsky at arm.com>
> ---

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the linux-arm-kernel mailing list