Bug 282775 - net/intel-ixl-kmod: build error since 1500027 (struct ifnet is now hidden)
Summary: net/intel-ixl-kmod: build error since 1500027 (struct ifnet is now hidden)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-15 09:19 UTC by Olivier Cochard
Modified: 2024-11-15 09:19 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (freebsd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Cochard freebsd_committer freebsd_triage 2024-11-15 09:19:51 UTC
Hi,

looks like a long due change switch to default on current:

if_ixl.c:812:14: error: incomplete definition of type 'struct ifnet'
  812 |         if (vsi->ifp->if_vlantrunk != NULL) {
      |             ~~~~~~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
if_ixl.c:837:14: error: incomplete definition of type 'struct ifnet'
  837 |         if (vsi->ifp->if_drv_flags & IFF_DRV_RUNNING)
      |             ~~~~~~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
2 errors generated.
*** Error code 1