Re: [Regression] depmod fails on kernel 6.17.1 rc1

Jiri Slaby
2025-11-07T06:20:30Z

On 06. 11. 25, 19:00, Ilpo Järvinen wrote:
> This seems to resolve the build issue for me:
>
> --
> From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>
> Subject: [PATCH 1/1] serial: 8250: Fix 8250_rsa symbol loop
>
> make allmodconfig build fails due to dependency loop:
>
> depmod: ERROR: Cycle detected: 8250 -> 8250_base -> 8250
> depmod: ERROR: Found 2 modules in dependency cycles!
>
> Break dependency loop by moving 8250_rsa.o into 8250_base and by
> passing univ8250_port_base_ops to univ8250_rsa_support() that can make
> a local copy of it.
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Reported-by: Alex Davis <alex47794@gmail.com>
> Fixes: b20d6576cdb3 ("serial: 8250: export RSA functions")
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

LGTM, thanks for the fix.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>

If the reporters could give it a shot and mark this by Tested-by, it
would be great...

thanks,
--
js
suse labs