git: 033accf4f1fa - stable/12 - Remove device lio from i386's LINT-NOIP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Feb 2022 16:52:08 UTC
The branch stable/12 has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=033accf4f1fa5b0d9a19cd93e516241380fec4ef
commit 033accf4f1fa5b0d9a19cd93e516241380fec4ef
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-02-08 18:53:52 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-02-11 16:51:13 +0000
Remove device lio from i386's LINT-NOIP
This fixes link errors for the LINT-NOIP kernel on i386:
```
ld: error: undefined symbol: tcp_lro_flush_all
>>> referenced by lio_droq.c
>>> lio_droq.o:(lio_droq_process_packets)
ld: error: undefined symbol: tcp_lro_rx
>>> referenced by lio_core.c
>>> lio_core.o:(lio_push_packet)
ld: error: undefined symbol: tcp_lro_init
>>> referenced by lio_main.c
>>> lio_main.o:(lio_attach)
ld: error: undefined symbol: tcp_lro_free
>>> referenced by lio_main.c
>>> lio_main.o:(lio_attach)
>>> referenced by lio_main.c
>>> lio_main.o:(lio_destroy_nic_device)
*** [kernel] Error code 1
```
MFC after: 3 days
(cherry picked from commit 14a15342bbc88906c97fbf84553eb5c6de8295ca)
---
sys/conf/makeLINT.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/conf/makeLINT.mk b/sys/conf/makeLINT.mk
index 52bac5fb37ba..8835d907ee4f 100644
--- a/sys/conf/makeLINT.mk
+++ b/sys/conf/makeLINT.mk
@@ -46,6 +46,7 @@ LINT: ${NOTES} ${MAKELINT_SED}
echo "nodevice em" >> ${.TARGET}-NOIP
echo "nodevice fxp" >> ${.TARGET}-NOIP
echo "nodevice jme" >> ${.TARGET}-NOIP
+ echo "nodevice lio" >> ${.TARGET}-NOIP
echo "nodevice msk" >> ${.TARGET}-NOIP
echo "nodevice mxge" >> ${.TARGET}-NOIP
echo "nodevice sge" >> ${.TARGET}-NOIP