[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176908087035.2055150.7814472104716413827.b4-ty@kernel.org>
Date: Thu, 22 Jan 2026 16:59:43 +0000
From: Will Deacon <will@...nel.org>
To: Catalin Marinas <catalin.marinas@....com>,
Shuah Khan <shuah@...nel.org>,
Thomas Weißschuh <linux@...ssschuh.net>
Cc: kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nel.org>
Subject: Re: [PATCH] kselftest/arm64: Use syscall() macro over nolibc my_syscall()
On Sat, 17 Jan 2026 13:10:51 +0100, Thomas Weißschuh wrote:
> The my_syscall*() macros are internal implementation details of nolibc.
> Nolibc also provides the regular syscall(2), which is also a macro
> and directly expands to the correct my_syscall().
>
> Use syscall() instead.
>
> As a side-effect this fixes some return value checks, as my_syscall()
> returns the raw value as set by the kernel and does not set errno.
>
> [...]
Applied to arm64 (for-next/selftests), thanks!
[1/1] kselftest/arm64: Use syscall() macro over nolibc my_syscall()
https://git.kernel.org/arm64/c/2a369c494248
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists