* [PATCH net v2] net/iucv: descend into net/iucv independently of IUCV
@ 2026-08-15 13:54 Pengpeng Hou
[not found] ` <20260816135517.816271F000E9@smtp.kernel.org>
0 siblings, 1 reply; 2+ messages in thread
From: Pengpeng Hou @ 2026-08-15 13:54 UTC (permalink / raw)
To: wintera, Thorsten Winkler, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
Cc: Pengpeng Hou, Simon Horman, Heiko Carstens, linux-s390, netdev,
linux-kernel
AFIUCV can be enabled as either built-in or a module through QETH_L3 even
when IUCV is disabled. The top-level net Makefile currently descends into
net/iucv/ only under CONFIG_IUCV, so the valid configurations
CONFIG_AFIUCV=y/m with CONFIG_IUCV=n never consider af_iucv.o.
Always descend into net/iucv/. Its Makefile already gates iucv.o and
af_iucv.o on their own Kconfig symbols, so this does not build either
object unless selected.
Fixes: c69748d1c9b5 ("iucv: kernel option for z/VM IUCV and HiperSockets")
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Assisted-by: Codex:gpt-5
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
---
Changes since RFC:
https://lore.kernel.org/all/20260625061303.36326-1-pengpeng@iscas.ac.cn/
- submit this as a regular fix rather than an RFC
- describe both AFIUCV=y and AFIUCV=m with IUCV=n
- add Alexandra's Reviewed-by
net/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/Makefile b/net/Makefile
index 5b2dd7f07a85..c0da946b281e 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -45,7 +45,7 @@ obj-$(CONFIG_WIRELESS) += wireless/
obj-$(CONFIG_MAC80211) += mac80211/
obj-$(CONFIG_TIPC) += tipc/
obj-$(CONFIG_NETLABEL) += netlabel/
-obj-$(CONFIG_IUCV) += iucv/
+obj-y += iucv/
obj-$(CONFIG_SMC) += smc/
obj-$(CONFIG_RFKILL) += rfkill/
obj-$(CONFIG_NET_9P) += 9p/
--
2.50.1 (Apple Git-155)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net v2] net/iucv: descend into net/iucv independently of IUCV
[not found] ` <4fb902b2-bd5e-48b0-aca0-07e51a80d8c7@linux.ibm.com>
@ 2026-08-17 15:03 ` Alexandra Winter
0 siblings, 0 replies; 2+ messages in thread
From: Alexandra Winter @ 2026-08-17 15:03 UTC (permalink / raw)
To: sashiko-reviews, Pengpeng Hou
Cc: Vasily Gorbik, linux-s390, Heiko Carstens, Alexander Gordeev,
Christian Borntraeger, netdev, David S. Miller, Jakub Kicinski,
Paolo Abeni, Eric Dumazet
On 17.08.26 14:06, Alexandra Winter wrote:
>
>
> On 16.08.26 15:55, sashiko-bot@kernel.org wrote:
>> Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
>>
>> New issues:
>> - [High] Unconditional descent into net/iucv/ causes a vmlinux linker error when CONFIG_AFIUCV=y and CONFIG_IUCV=m.
>
> @Pengpeng Hou,
> if it easier, you can also fix this issue by making CONFIG_AFIUCV depend on CONFIG_IUCV.
> I see no practical scenario where we would want AFIUCV without IUCV.
>
And I agree with Sashiko. I did not verify this combination with your initial RFC, sorry.
So I propose to depend AFIUCV on IUCV instead of your patch.
Do you want to send such a patch, or do you want me to do that?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-17 15:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-15 13:54 [PATCH net v2] net/iucv: descend into net/iucv independently of IUCV Pengpeng Hou
[not found] ` <20260816135517.816271F000E9@smtp.kernel.org>
[not found] ` <4fb902b2-bd5e-48b0-aca0-07e51a80d8c7@linux.ibm.com>
2026-08-17 15:03 ` Alexandra Winter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox