Re: [PATCH v2] fbdev: replace dead select with dependency
Helge Deller <[email protected]> Sat, 25 Jul 2026 17:22:52 +0200
| Newsgroups | org.kernel.vger.linux-fbdev,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 7/23/26 14:28, Julian Braha wrote: > 'select' does not work on config options in a 'choice', so currently it = is > possible to enable FB_MB862XX_LIME without FB_LITTLE_ENDIAN. >=20 > We cannot replace the 'select FB_LITTLE_ENDIAN' without also changing > FB_FOREIGN_ENDIAN from 'select' to 'depends on', otherwise we will get > a recursive dependency. >=20 > Since the default choice is FB_BOTH_ENDIAN, let's use: > 'depends on FB_LITTLE_ENDIAN || FB_BOTH_ENDIAN' > to avoid breaking defconfig. >=20 > This dead select was found by kconfirm, a static analysis tool for Kconf= ig. >=20 > Suggested-by: Arnd Bergmann <[email protected]> > Signed-off-by: Julian Braha <[email protected]> > --- > Changes since v1: support the default FB_BOTH_ENDIAN > Link: > https://lore.kernel.org/all/[email protected]= m/ > --- > drivers/video/fbdev/Kconfig | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) applied. Thanks! Helge