From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Julian Braha <julianbraha@gmail.com>
Cc: arnd@arndb.de, linux-mips@vger.kernel.org,
linux-kernel@vger.kernel.org, cjd@cjdns.fr
Subject: Re: [PATCH v2] mips: econet: fix unmet dependencies for ECONET
Date: Tue, 8 Sep 2026 16:14:18 +0200 [thread overview]
Message-ID: <aqAYOi0AMN_N2JLl@alpha.franken.de> (raw)
In-Reply-To: <20260815235109.666268-1-julianbraha@gmail.com>
On Sun, Aug 16, 2026 at 12:51:09AM +0100, Julian Braha wrote:
> ECONET selects EARLY_PRINTK_8250, SERIAL_OF_PLATFORM, and SERIAL_8250
> without ensuring their dependencies, EARLY_PRINTK and TTY are met. This
> causes unmet dependencies:
>
> WARNING: unmet direct dependencies detected for SERIAL_8250
> Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && !S390
> Selected by [y]:
> - ECONET [=y]
>
> WARNING: unmet direct dependencies detected for EARLY_PRINTK_8250
> Depends on [n]: EARLY_PRINTK [=n] && USE_GENERIC_EARLY_PRINTK_8250 [=y]
> Selected by [y]:
> - ECONET [=y]
>
> WARNING: unmet direct dependencies detected for SERIAL_OF_PLATFORM
> Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && SERIAL_8250 [=y] && OF [=y]
> Selected by [y]:
> - ECONET [=y]
>
> However, in the discussion of v1 of this patch, Arnd pointed out that these
> selects don't belong here in the first place. [1]
> Let's remove them to resolve the unmet dependencies.
>
> These unmet dependencies were found by kconfirm, a static analysis tool for
> Kconfig.
>
> Fixes: 79ee1d20e37c ("mips: econet: Fix incorrect Kconfig dependencies")
> Fixes: 35fb26f94dfa ("mips: Add EcoNet MIPS platform support")
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Julian Braha <julianbraha@gmail.com>
> ---
> Link: https://lore.kernel.org/all/59c5582d-6fc1-48d0-a5df-b3b6f58aa227@app.fastmail.com/ [1]
>
> Changes since v1: remove the selects, instead of selecting more
> Link to v1: https://lore.kernel.org/all/20260802161555.491549-1-julianbraha@gmail.com/
> ---
> arch/mips/Kconfig | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index e2eb9627bd14..c3f69def2008 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -396,10 +396,7 @@ config ECONET
> bool "EcoNet MIPS family"
> select BOOT_RAW
> select DEBUG_ZBOOT if DEBUG_KERNEL
> - select EARLY_PRINTK_8250
> select ECONET_EN751221_TIMER
> - select SERIAL_8250
> - select SERIAL_OF_PLATFORM
> select SYS_SUPPORTS_BIG_ENDIAN
> select SYS_HAS_CPU_MIPS32_R1
> select SYS_HAS_CPU_MIPS32_R2
> --
> 2.55.0
applied to mips-fixes
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
prev parent reply other threads:[~2026-09-08 14:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-15 23:51 Julian Braha
2026-08-17 22:07 ` Caleb James DeLisle
2026-09-08 14:14 ` Thomas Bogendoerfer [this message]
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=aqAYOi0AMN_N2JLl@alpha.franken.de \
--to=tsbogend@alpha.franken.de \
--cc=arnd@arndb.de \
--cc=cjd@cjdns.fr \
--cc=julianbraha@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@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
all inboxes | Powered by JetHome®