Re: [Regression] depmod fails on kernel 6.17.1 rc1
From: Jiri Slaby
Date: Fri Nov 07 2025 - 01:20:30 EST
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@xxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx>
Reported-by: Alex Davis <alex47794@xxxxxxxxx>
Fixes: b20d6576cdb3 ("serial: 8250: export RSA functions")
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
LGTM, thanks for the fix.
Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>
If the reporters could give it a shot and mark this by Tested-by, it would be great...
thanks,
--
js
suse labs