Re: [PATCH RFT v11 1/8] arm64/gcs: Return a success value from gcs_alloc_thread_stack()
From: Deepak Gupta <hidden>
Date: 2024-10-30 21:11:53
Also in:
linux-kselftest, lkml
From: Deepak Gupta <hidden>
Date: 2024-10-30 21:11:53
Also in:
linux-kselftest, lkml
On Sat, Oct 05, 2024 at 11:31:28AM +0100, Mark Brown wrote:
Currently as a result of templating from x86 code gcs_alloc_thread_stack() returns a pointer as an unsigned int however on arm64 we don't actually use this pointer value as anything other than a pass/fail flag. Simplify the interface to just return an int with 0 on success and a negative error code on failure. Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Deepak Gupta <redacted>