Re: drivers/gpio/gpio-pca953x.c:117:40: error: 'ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER' undeclared here (not in a function)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 12, 2021 at 06:57:51PM +0530, Naresh Kamboju wrote:
> While building stable rc 5.4 for arm and arm64 the following warnings / errors
> were noticed.
> 
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> 'HOSTCC=sccache gcc' olddefconfig
> .config:7570:warning: override: TRANSPARENT_HUGEPAGE_MADVISE changes
> choice state
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=arm64
> CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc'
> 'HOSTCC=sccache gcc'
> 
> arch/arm64/boot/dts/exynos/exynos5433.dtsi:254.3-29: Warning
> (reg_format): /gpu@14ac0000:reg: property has invalid length (8 bytes)
> (#address-cells == 2, #size-cells == 2)
> arch/arm64/boot/dts/exynos/exynos5433-tm2.dtb: Warning
> (pci_device_bus_num): Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos5433-tm2.dtb: Warning (i2c_bus_reg):
> Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos5433-tm2.dtb: Warning (spi_bus_reg):
> Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos5433.dtsi:254.3-29: Warning
> (reg_format): /gpu@14ac0000:reg: property has invalid length (8 bytes)
> (#address-cells == 2, #size-cells == 2)
> arch/arm64/boot/dts/exynos/exynos5433-tm2e.dtb: Warning
> (pci_device_bus_num): Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos5433-tm2e.dtb: Warning (i2c_bus_reg):
> Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos5433-tm2e.dtb: Warning (spi_bus_reg):
> Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos7.dtsi:83.3-29: Warning (reg_format):
> /gpu@14ac0000:reg: property has invalid length (8 bytes)
> (#address-cells == 2, #size-cells == 2)
> arch/arm64/boot/dts/exynos/exynos7-espresso.dtb: Warning
> (pci_device_bus_num): Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos7-espresso.dtb: Warning
> (i2c_bus_reg): Failed prerequisite 'reg_format'
> arch/arm64/boot/dts/exynos/exynos7-espresso.dtb: Warning
> (spi_bus_reg): Failed prerequisite 'reg_format'
> drivers/gpio/gpio-pca953x.c:117:40: error:
> 'ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER' undeclared here (not in a function)
>   117 |  { "irq-gpios", &pca953x_irq_gpios, 1,
> ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER },
>       |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[3]: *** [scripts/Makefile.build:262: drivers/gpio/gpio-pca953x.o] Error 1
> make[3]: Target '__build' not remade because of errors.
> 
> 
> Reported-by:  Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
> 
> Build link,
> https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1091050853#L375
> 
> steps to reproduce:
> ---------------------------
> 
> # TuxMake is a command line tool and Python library that provides
> # portable and repeatable Linux kernel builds across a variety of
> # architectures, toolchains, kernel configurations, and make targets.
> #
> # TuxMake supports the concept of runtimes.
> # See https://docs.tuxmake.org/runtimes/, for that to work it requires
> # that you install podman or docker on your system.
> #
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
> # See https://docs.tuxmake.org/ for complete documentation.
> 
> 
> tuxmake --runtime podman --target-arch arm64 --toolchain gcc-9
> --kconfig defconfig --kconfig-add
> https://builds.tuxbuild.com/1pcgZ6HCDYD6pGG5Xn1ammT72EM/config

Should now be fixed up, sorry about that.

greg k-h



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux