Re: [PATCH RFT v11 1/8] arm64/gcs: Return a success value from gcs_alloc_thread_stack()

From: Deepak Gupta
Date: Wed Oct 30 2024 - 17:12:01 EST


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@xxxxxxxxxx>
Acked-by: Deepak Gupta <debug@xxxxxxxxxxxx>