lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <f7d8cd55-5a14-4391-884f-0b072790fa41@app.fastmail.com>
Date: Tue, 16 Apr 2024 13:55:57 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "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>
Cc: "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>,
 "Dan Carpenter" <dan.carpenter@...aro.org>
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 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.

     Arnd

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ