Subject: Re: [next] riscv: sifive/fu540-c000.dtsi:171.4-42: ERROR (duplicate_property_names): /soc/dma@3000000:compatible: Duplicate property name

From: <[email-masked]>
Date: Thu, 21 Apr 2022 11:02:34 +0000

On 21/04/2022 10:49, Naresh Kamboju wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Linux next-20220421 riscv defconfig builds failed [1].
> 
> Regressions found on riscv:
> 
>     - riscv-clang-13-defconfig
>     - riscv-clang-12-defconfig
>     - riscv-gcc-10-defconfig
>     - riscv-clang-nightly-defconfig
>     - riscv-clang-11-defconfig
>     - riscv-gcc-8-defconfig
>     - riscv-clang-14-defconfig
>     - riscv-gcc-9-defconfig
>     - riscv-gcc-11-defconfig
> 
> arch/riscv/boot/dts/sifive/fu540-c000.dtsi:171.4-42: ERROR
> (duplicate_property_names): /soc/dma@3000000:compatible: Duplicate
> property name

Krzysztof already sent a fix for the duplicate:
https://lore.kernel.org/linux-riscv/[email-masked]/

> ERROR: Input tree has errors, aborting (use -f to force output)
> make[3]: *** [scripts/Makefile.lib:376:
> arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dtb] Error 2
> 
> drivers/pci/pci-driver.c:533:12: warning:
> 'pci_restore_standard_config' defined but not used [-Wunused-function]
>    533 | static int pci_restore_standard_config(struct pci_dev *pci_dev)
>        |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[1]: Target '__all' not remade because of errors.
> make: *** [Makefile:226: __sub-make] Error 2
> 
> 
> Reported-by: Linux Kernel Functional Testing <[email-masked]>
> 
> The recent patch on this file.
> I will run my bisect script and get back to you.
> ---
> riscv: dts: Add dma-channels property and modify compatible
> 
> 
> Add dma-channels property, then we can determine how many channels there
> by device tree, in addition, we add the pdma versioning scheme for
> compatible.
> 
> Signed-off-by: Zong Li <[email-masked]>
> Reviewed-by: Palmer Dabbelt <[email-masked]>
> Acked-by: Palmer Dabbelt <[email-masked]>
> Acked-by: Conor Dooley <[email-masked]>
> Reviewed-by: Bin Meng <[email-masked]>
> Signed-off-by: Palmer Dabbelt <[email-masked]>
> 
> Steps to reproduce:
> ------------------
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> # Original tuxmake command with fragments listed below.
> 
> tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
> --kconfig defconfig
> 
> 
> --
> Linaro LKFT
> https://lkft.linaro.org
> 
> [1] https://builds.tuxbuild.com/2868anlKwTP8aavo19LT6KRIq1T/