linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type 'struct gpio_chip'
@ 2023-03-09 11:40 Naresh Kamboju
  2023-03-09 13:54 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2023-03-09 11:40 UTC (permalink / raw)
  To: Linux-sh list, open list, Linux-Next Mailing List, lkft-triage
  Cc: Yoshinori Sato, Rich Felker, John Paul Adrian Glaubitz,
	Christoph Hellwig

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/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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type 'struct gpio_chip'
  2023-03-09 11:40 sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type 'struct gpio_chip' Naresh Kamboju
@ 2023-03-09 13:54 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2023-03-09 13:54 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux-sh list, open list, Linux-Next Mailing List, lkft-triage,
	Yoshinori Sato, Rich Felker, John Paul Adrian Glaubitz,
	Christoph Hellwig

Hi Naresh,

On Thu, Mar 9, 2023 at 12:50 PM Naresh Kamboju
<naresh.kamboju@linaro.org> wrote:
> 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

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

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-09 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-09 11:40 sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type 'struct gpio_chip' Naresh Kamboju
2023-03-09 13:54 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).