From: preed via Bugspray Bot <bugbot@kernel.org>
To: linux-gpio@vger.kernel.org
Subject: Compile failure on drivers/pinctrl/core.c since 6.6.148
Date: Thu, 03 Dec 2026 16:41:15 +0000 [thread overview]
Message-ID: <20261203-b222122c0-c13a4a4055b4@bugzilla.kernel.org> (raw)
preed writes via Kernel.org Bugzilla:
I have been unable to successfully compile the 6.6 kernel series with the attached config since 6.6.148; 6.6.147 builds fine, but 6.6.148 fails with:
CC drivers/pinctrl/core.o
drivers/pinctrl/core.c: In function ‘pinctrl_gpio_direction_input’:
drivers/pinctrl/core.c:886:41: error: invalid use of undefined type ‘struct gpio_chip’
886 | return pinctrl_gpio_direction(gc->base + offset, true);
| ^~
drivers/pinctrl/core.c: In function ‘pinctrl_gpio_direction_output’:
drivers/pinctrl/core.c:901:41: error: invalid use of undefined type ‘struct gpio_chip’
901 | return pinctrl_gpio_direction(gc->base + offset, false);
|
I bisected the build failure and it looks to be related to:
f53dd26462b8ecc418421fc972f5fb57b90597aa is the first 'bad' commit
commit f53dd26462b8ecc418421fc972f5fb57b90597aa
Author: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Date: Tue Jul 28 08:11:24 2026 -0400
pinctrl: remove pinctrl_gpio_direction_output()
[ Upstream commit 45d2055b0067739253883dc541f37c86aad45c92 ]
There are no more users of pinctrl_gpio_direction_output() so remove it.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Stable-dep-of: d3e91a95b2b0 ("gpio: tegra: do not call pinctrl for GPIO direction")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
I use |make oldconfig| to build new kernel versions; it's possible my config is invalid, however I did attempt to re-create a config in a 6.6.148 build tree with |make menuconfig|; that's the attached config, and it still errors.
View: https://bugzilla.kernel.org/show_bug.cgi?id=222122#c0
You can reply to this message to join the discussion.
--
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)
next reply other threads:[~2026-12-03 16:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 16:41 preed via Bugspray Bot [this message]
2026-12-03 16:41 ` Compile failure on drivers/pinctrl/core.c since 6.6.148 preed via Bugspray Bot
2026-12-03 16:41 ` preed via Bugspray Bot
2026-12-03 16:41 ` Artem S. Tashkinov via Bugspray Bot
2026-12-03 16:41 ` Artem S. Tashkinov via Bugspray Bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203-b222122c0-c13a4a4055b4@bugzilla.kernel.org \
--to=bugbot@kernel.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox