Re: [Regression] depmod fails on kernel 6.17.1 rc1

From: Andy Shevchenko

Date: Thu Nov 06 2025 - 13:14:41 EST


On Thu, Nov 06, 2025 at 08:00:36PM +0200, Ilpo Järvinen wrote:
> On Thu, 6 Nov 2025, Ilpo Järvinen wrote:
> > On Thu, 6 Nov 2025, Borislav Petkov wrote:
> > > On Thu, Nov 06, 2025 at 06:15:57PM +0200, Andy Shevchenko wrote:
> > > > > So I'm seeing this with an allmodconfig build too:
> > > ^^^^^^^^^^^^
> > > > > depmod: ERROR: Cycle detected: 8250 -> 8250_base -> 8250
> > > > > depmod: ERROR: Found 2 modules in dependency cycles!
> > > >
> > > > I'm surprised it took so long to people to start complaining.
> > > >
> > > > So, some of those are modules? Can you share the
> > > >
> > > > grep 8250 .config
> > > >
> > > > part?
> > >
> > > See above.
> >
> > https://lore.kernel.org/all/87frc3sd8d.fsf@xxxxxxxxxx/
> >
> > I wonder if 8250_rsa.o can be put into 8250_base.o where most of its
> > callers are anyway?
>
> This seems to resolve the build issue for me:

I prefer this solution to anything that suggests to merge the 8250_rsa in
another module.

If it fixes for the reporters, feel free to add my
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko