All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Julian Braha <julianbraha@gmail.com>,
	linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	cjd@cjdns.fr
Subject: Re: [PATCH] mips: econet: fix unmet dependencies for ECONET
Date: Mon, 3 Aug 2026 15:12:41 +0200	[thread overview]
Message-ID: <anCTyWu_i15aQDZM@alpha.franken.de> (raw)
In-Reply-To: <59c5582d-6fc1-48d0-a5df-b3b6f58aa227@app.fastmail.com>

On Sun, Aug 02, 2026 at 07:41:45PM +0200, Arnd Bergmann wrote:
> On Sun, Aug 2, 2026, at 18:15, 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]
> >
> > Let's select the necessary dependencies, TTY and EARLY_PRINTK, as other
> > similar architecture options do.
> >
> > These unmet dependencies were found by kconfirm, a static analysis tool for
> > Kconfig.
> 
> I think this platform has too many 'select' that are not helpful here
> and should be removed instead.
> 
> > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> > index a06f24317306..2423a6050088 100644
> > --- a/arch/mips/Kconfig
> > +++ b/arch/mips/Kconfig
> > @@ -397,8 +397,10 @@ config ECONET
> >  	select BOOT_RAW
> >  	select CPU_BIG_ENDIAN
> 
> CPU_BIG_ENDIAN is automatically set here because of the
> missing SYS_SUPPORTS_LITTLE_ENDIAN

there is already a patch from Julian, which removes this select. I've
applied it a couple of minutes ago.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

      reply	other threads:[~2026-08-03 14:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-02 16:15 [PATCH] mips: econet: fix unmet dependencies for ECONET Julian Braha
2026-08-02 17:41 ` Arnd Bergmann
2026-08-03 13:12   ` 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=anCTyWu_i15aQDZM@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.