Following build error reported on sh shx3_defconfig on Linux next-20230309 and started from next-20230307.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
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/tes... - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230309/tes...
metadata: ---------- build_name: gcc-11-shx3_defconfig config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ml9hI6V0nIKrCQbtRVox... download_url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ml9hI6V0nIKrCQbtRVox... 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
Hi Naresh,
On Thu, Mar 9, 2023 at 12:50 PM Naresh Kamboju naresh.kamboju@linaro.org wrote:
Thanks, I've bisected, and sent a fix https://lore.kernel.org/r/20230309135255.3861308-1-geert+renesas@glider.be
Gr{oetje,eeting}s,
Geert