Re: [PATCH] pinctrl: s32cc: fix unmet dependency for PINCTRL_S32CC
From: Arnd Bergmann
Date: Wed Jul 22 2026 - 17:25:11 EST
On Wed, Jul 22, 2026, at 23:14, Julian Braha wrote:
> On 7/22/26 21:39, Arnd Bergmann wrote:
>> The patch looks fine, but I'm curious about what type of rule found
>> the mistake. Is this a heuristic that found that drivers/pinctrl/*
>> overwhelmingly uses select instead of depends, or did kconfirm
>> find a circular dependency that was caused by inconsistent
>> rules?
>
> Not a heuristic, kconfirm-smt is the first complete SMT solver for
> Kconfig (as in, all semantics of the Kconfig language are used to
> automatically encode all Kconfig files as SMT constraints).
Ok, thanks for your detailed explanation. It turns out that there
is a typo in your patch description, and I further misread it:
| Currently, PINCTRL_S32CC selects PINCTRL_S32CC which needs GPIOLIB,
| without selecting or depending on GPIOLIB.
Clearly, this should have said
| ... PINCTRL_S32G2 selects PINCTRL_S32CC ...
to explain the actual bug. ;-)
Arnd