Re: arch/arm64/kernel/signal.c:1046:36: sparse: sparse: cast removes address space '__user' of expression
From: Mark Brown
Date: Tue Dec 10 2024 - 07:49:54 EST
On Tue, Dec 10, 2024 at 12:33:42PM +0000, Mark Brown wrote:
> Apparently the rune for this with sparse is to cast the value to an
> unsigned long (type safety for the win!). I wrote a patch last night,
> should be done testing by now. Given sparse we should probably have
> that cast in write_sysreg_s() be to unsigned long.
Actually the patch was sent last night - it was another patch I was
waiting for:
https://lore.kernel.org/r/20241210-arm64-gcs-signal-sparse-v1-1-26888bcd6f89@xxxxxxxxxx
Attachment:
signature.asc
Description: PGP signature