[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOesGMgXmsGGmOAkoL7L-tZhWC=s2WwdBqsrgeR3-0c_iEgW4g@mail.gmail.com>
Date: Fri, 16 Nov 2018 18:54:55 -0800
From: Olof Johansson <olof@...om.net>
To: Will Deacon <will.deacon@....com>
Cc: Catalin Marinas <catalin.marinas@....com>,
Linux ARM Mailing List <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arm64: Explicitly mark 64-bit constant as unsigned long
On Fri, Nov 16, 2018 at 6:27 PM Will Deacon <will.deacon@....com> wrote:
>
> Hi Olof,
>
> On Fri, Nov 16, 2018 at 05:54:56PM -0800, Olof Johansson wrote:
> > Makes sparse happy. Before:
> >
> > 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: Olof Johansson <olof@...om.net>
> > ---
> > arch/arm64/include/asm/sysreg.h | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> The warning is bogus imo, but since it's harmless to fix it then we can do
> that. However, you've been beaten by:
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2018-November/613179.html
Yeah, mostly bogus but still useful to silence warnings so you notice new ones.
Overlooked the duplicate, happy to ack that one instead.
-Olof
Powered by blists - more mailing lists