Re: [PATCH v2] arm64/syscall: Remove duplicate declaration

From: Arnd Bergmann
Date: Thu Nov 09 2023 - 11:17:05 EST


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@xxxxxxx>
> ---

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>