[Bug 282775] net/intel-ixl-kmod: build error since 1500027 (struct ifnet is now hidden)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Nov 2024 09:19:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282775

            Bug ID: 282775
           Summary: net/intel-ixl-kmod: build error since 1500027 (struct
                    ifnet is now hidden)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: olivier@freebsd.org
                CC: freebsd@intel.com
                CC: freebsd@intel.com
             Flags: maintainer-feedback?(freebsd@intel.com)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.