[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <402a5e3b-bdb5-40a4-8a44-2de497849c3f@moroto.mountain>
Date: Tue, 16 Apr 2024 15:42:23 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Naresh Kamboju <naresh.kamboju@...aro.org>,
open list <linux-kernel@...r.kernel.org>,
lkft-triage@...ts.linaro.org,
Linux Regressions <regressions@...ts.linux.dev>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
"Aneesh Kumar K.V" <aneesh.kumar@...nel.org>,
Anders Roxell <anders.roxell@...aro.org>,
Kees Cook <keescook@...omium.org>,
Niklas Schnelle <schnelle@...ux.ibm.com>,
clang-built-linux <llvm@...ts.linux.dev>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nathan Chancellor <nathan@...nel.org>,
Jeff Xu <jeffxu@...omium.org>,
"Naveen N. Rao" <naveen.n.rao@...ux.ibm.com>
Subject: Re: powerpc: io-defs.h:43:1: error: performing pointer arithmetic on
a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic]
On Tue, Apr 16, 2024 at 01:55:57PM +0200, Arnd Bergmann wrote:
> On Tue, Apr 16, 2024, at 13:01, Arnd Bergmann wrote:
> > On Tue, Apr 16, 2024, at 11:32, Naresh Kamboju wrote:
> >> The Powerpc clang builds failed due to following warnings / errors on the
> >> Linux next-20240416 tag.
> >>
> >> Powerpc:
> >> - tqm8xx_defconfig + clang-17 - Failed
> >> - allnoconfig + clang-17 - Failed
> >> - tinyconfig + clang-17 - Failed
> >>
> >> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
> >
> > I'm not sure why this showed up now, but there is a series from
> > in progress that will avoid this in the future, as the same
> > issue is present on a couple of other architectures.
> >
>
> I see now, it was introduced by my patch to turn on -Wextra
> by default. I had tested that patch on all architectures
> with allmodconfig and defconfig, but I did not test any
> powerpc configs with PCI disabled.
I think this warning is clang specific as well... (Maybe clang was
included in all architectures but I'm not sure).
regards,
dan carpenter
Powered by blists - more mailing lists