sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type 'struct gpio_chip'
From: Naresh Kamboju
Date: Thu Mar 09 2023 - 06:41:15 EST
Following build error reported on sh shx3_defconfig on Linux next-20230309
and started from next-20230307.
Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
Build log:
--------
arch/sh/boards/mach-x3proto/setup.c: In function 'x3proto_devices_setup':
arch/sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of
undefined type 'struct gpio_chip'
246 | baseboard_buttons[i].gpio = x3proto_gpio_chip.base + i;
| ^
make[3]: *** [scripts/Makefile.build:252:
arch/sh/boards/mach-x3proto/setup.o] Error 1
make[3]: Target 'arch/sh/boards/mach-x3proto/' not remade because of errors.
make[2]: *** [scripts/Makefile.build:494: arch/sh/boards/mach-x3proto] Error 2
build links,
---------
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230309/testrun/15403540/suite/build/test/gcc-11-shx3_defconfig/details/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230309/testrun/15403540/suite/build/test/gcc-11-shx3_defconfig/history/
metadata:
----------
build_name: gcc-11-shx3_defconfig
config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ml9hI6V0nIKrCQbtRVoxCOy7BY/config
download_url:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ml9hI6V0nIKrCQbtRVoxCOy7BY/
git_describe: next-20230309
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: 2c6433e9294b6d0f4d8f08c3c70a3eac434d3ec8
git_short_log: 2c6433e9294b ("Add linux-next specific files for 20230309")
Steps to reproduce:
----------
# 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 sh --toolchain gcc-11 --kconfig
shx3_defconfig
--
Linaro LKFT
https://lkft.linaro.org