Message ID | 20210927214823.13683-1-rdunlap@infradead.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 103bde372f084206c6972be543ecc247ebbff9f3 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] net: sun: SUNVNET_COMMON should depend on INET | expand |
Context | Check | Description |
---|---|---|
netdev/cover_letter | success | Link |
netdev/fixes_present | success | Link |
netdev/patch_count | success | Link |
netdev/tree_selection | success | Clearly marked for net |
netdev/subject_prefix | success | Link |
netdev/cc_maintainers | success | CCed 4 of 4 maintainers |
netdev/source_inline | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Link |
netdev/module_param | success | Was 0 now: 0 |
netdev/build_32bit | success | Errors and warnings before: 0 this patch: 0 |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/verify_fixes | success | Link |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 7 lines checked |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 0 this patch: 0 |
netdev/header_inline | success | Link |
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 27 Sep 2021 14:48:23 -0700 you wrote: > When CONFIG_INET is not set, there are failing references to IPv4 > functions, so make this driver depend on INET. > > Fixes these build errors: > > sparc64-linux-ld: drivers/net/ethernet/sun/sunvnet_common.o: in function `sunvnet_start_xmit_common': > sunvnet_common.c:(.text+0x1a68): undefined reference to `__icmp_send' > sparc64-linux-ld: drivers/net/ethernet/sun/sunvnet_common.o: in function `sunvnet_poll_common': > sunvnet_common.c:(.text+0x358c): undefined reference to `ip_send_check' > > [...] Here is the summary with links: - [net] net: sun: SUNVNET_COMMON should depend on INET https://git.kernel.org/netdev/net/c/103bde372f08 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
--- linux-next-20210927.orig/drivers/net/ethernet/sun/Kconfig +++ linux-next-20210927/drivers/net/ethernet/sun/Kconfig @@ -73,6 +73,7 @@ config CASSINI config SUNVNET_COMMON tristate "Common routines to support Sun Virtual Networking" depends on SUN_LDOMS + depends on INET default m config SUNVNET
When CONFIG_INET is not set, there are failing references to IPv4 functions, so make this driver depend on INET. Fixes these build errors: sparc64-linux-ld: drivers/net/ethernet/sun/sunvnet_common.o: in function `sunvnet_start_xmit_common': sunvnet_common.c:(.text+0x1a68): undefined reference to `__icmp_send' sparc64-linux-ld: drivers/net/ethernet/sun/sunvnet_common.o: in function `sunvnet_poll_common': sunvnet_common.c:(.text+0x358c): undefined reference to `ip_send_check' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Aaron Young <aaron.young@oracle.com> Cc: Rashmi Narasimhan <rashmi.narasimhan@oracle.com> --- Fixes: prior to 31762eaa0d08 ("ldmvsw: Split sunvnet driver into common code") [I don't have enough git fu to go back beyond this.] drivers/net/ethernet/sun/Kconfig | 1 + 1 file changed, 1 insertion(+)