[PATCH] arm64/signal: Silence spurious sparse warning storing GCSPR_EL0
Mark Brown
broonie at kernel.org
Fri Dec 13 09:21:50 PST 2024
On Fri, Dec 13, 2024 at 04:17:48PM +0000, Catalin Marinas wrote:
> On Tue, Dec 10, 2024 at 04:52:49PM +0000, Mark Brown wrote:
> > Yes, I had already removed the references to spurious and false positive
> > locally and changed the unsigned long cast to a __force u64 cast.
> I still have a slight preference for treating a sysreg value as an
> integer and cast it to pointer when needed rather than using __force.
I've now changed to that and will send it later - TBH I'm having a very
hard time seeing it as an improvement, especially with the update to
gcs_signal_entry() where we do two writes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241213/f4578710/attachment.sig>
More information about the linux-arm-kernel
mailing list