[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <826bb270-1024-4ada-b914-46b21f2b0e66@sirena.org.uk>
Date: Tue, 10 Dec 2024 12:49:44 +0000
From: Mark Brown <broonie@...nel.org>
To: Catalin Marinas <catalin.marinas@....com>
Cc: kernel test robot <lkp@...el.com>, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Thiago Jung Bauermann <thiago.bauermann@...aro.org>
Subject: Re: arch/arm64/kernel/signal.c:1046:36: sparse: sparse: cast removes
address space '__user' of expression
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@kernel.org
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists