[PATCH] arm64: sysreg: fix sparse warnings

Will Deacon
2018-11-10T00:16:16Z

On Fri, Nov 09, 2018 at 11:47:47PM +0300, Sergey Matyukevich wrote:
> Specify correct type for the constants to avoid
> the following sparse complaints:
>
> ./arch/arm64/include/asm/sysreg.h:471:42: warning: constant 0xffffffffffffffff is so big it is unsigned long
> ./arch/arm64/include/asm/sysreg.h:512:42: warning: constant 0xffffffffffffffff is so big it is unsigned long
>
> Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
> ---
> arch/arm64/include/asm/sysreg.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

I thought this was fixed in newer versions of sparse so that it treats
AArch64 as 64-bit? [see sparse commit 49d56b6969d2f]

Will