[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAL_JsqJQVhR13XPBixS1GecueE40uPf7G_jgxtFK4CYiCHTZWg@mail.gmail.com>
Date: Tue, 15 Oct 2024 10:22:24 -0500
From: Rob Herring <robh@...nel.org>
To: Naresh Kamboju <naresh.kamboju@...aro.org>
Cc: open list <linux-kernel@...r.kernel.org>,
Linux-Next Mailing List <linux-next@...r.kernel.org>, lkft-triage@...ts.linaro.org,
Linux Regressions <regressions@...ts.linux.dev>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" <devicetree@...r.kernel.org>, clang-built-linux <llvm@...ts.linux.dev>,
Saravana Kannan <saravanak@...gle.com>, Anders Roxell <anders.roxell@...aro.org>,
Dan Carpenter <dan.carpenter@...aro.org>, Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: next-20241015: drivers/of/address.c:244:31: error: passing 'const
struct fwnode_handle *' to parameter of type 'struct fwnode_handle *'
discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
On Tue, Oct 15, 2024 at 9:49 AM Naresh Kamboju
<naresh.kamboju@...aro.org> wrote:
>
> A larger set of clang-19 builds failed on arm, mips, riscv and powerpc due to
> following Linux next-20241015 tag and these include tinyconfig, allnoconfig etc.
>
> And gcc-13 and gcc-12 builds are passed.
>
> First seen on next-20241014
> GOOD: next-20241014
> BAD: next-20241015
>
> List of build regressions,
> arm:
> build:
> * clang-19-sama5_defconfig
> * clang-nightly-mxs_defconfig
> * clang-nightly-exynos_defconfig
> * clang-19-at91_dt_defconfig
> * clang-19-pxa910_defconfig
> * clang-nightly-vexpress_defconfig
> * clang-19-vexpress_defconfig
> * clang-19-mxs_defconfig
> * clang-nightly-davinci_all_defconfig
> * clang-19-allnoconfig
> ...
> powerpc:
> build:
> * clang-19-tqm8xx_defconfig
> * clang-19-tinyconfig
> * clang-nightly-tinyconfig
> * clang-nightly-tqm8xx_defconfig
> * clang-19-allnoconfig
> * clang-19-ppc64e_defconfig
> * clang-nightly-ppc64e_defconfig
> * clang-nightly-allnoconfig
>
> Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> Build log:
> -----------
> drivers/of/address.c:244:31: error: passing 'const struct
> fwnode_handle *' to parameter of type 'struct fwnode_handle *'
> discards qualifiers
> [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
> 244 | err = pci_register_io_range(&np->fwnode,
> range->cpu_addr,
> | ^~~~~~~~~~~
> include/linux/pci.h:2022:63: note: passing argument to parameter 'fwnode' here
> 2022 | static inline int pci_register_io_range(struct fwnode_handle *fwnode,
> | ^
> 1 error generated
Already fixed this in my tree.
Rob
Powered by blists - more mailing lists