=>> Building net/intel-ice-kmod build started at Wed Dec 10 07:07:48 EST 2025 port directory: /usr/ports/net/intel-ice-kmod package name: intel-ice-kmod-1.38.16.1305000_2 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: freebsd@intel.com Makefile datestamp: -rw-r--r-- 1 root wheel 548 Aug 27 2024 /usr/ports/net/intel-ice-kmod/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 236ef6a0f2e6 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 16 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for intel-ice-kmod-1.38.16.1305000_2: SRIOV=off: Enable SR-IOV support (experimental) ====> Options available for the single NETMAP: you have to select exactly one of them NETMAP_ON=off: Enable netmap(4) support unconditionally NETMAP_OFF=on: Disable netmap(4) support unconditionally ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- freebsd@intel.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work/.cache HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-ice-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/intel-ice-kmod/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- WERROR="" SRIOV_ENABLE=0 KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work/.cache HOME=/wrkdirs/usr/ports/net/intel-ice-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-ice-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/intel-ice-kmod/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -UDEV_NETMAP -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -UDEV_NETMAP -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- KMODDIR="boot/modules" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ice" EXAMPLESDIR="share/examples/ice" DATADIR="share/ice" WWWDIR="www/ice" ETCDIR="etc/ice" --End PLIST_SUB-- --SUB_LIST-- PORTNAME=ice PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ice DOCSDIR=/usr/local/share/doc/ice EXAMPLESDIR=/usr/local/share/examples/ice WWWDIR=/usr/local/www/ice ETCDIR=/usr/local/etc/ice --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> intel-ice-kmod-1.38.16.1305000_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> intel-ice-kmod-1.38.16.1305000_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of intel-ice-kmod-1.38.16.1305000_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by intel-ice-kmod-1.38.16.1305000_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by intel-ice-kmod-1.38.16.1305000_2 for building => SHA256 Checksum OK for ice-1.38.16.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by intel-ice-kmod-1.38.16.1305000_2 for building ===> Extracting for intel-ice-kmod-1.38.16.1305000_2 => SHA256 Checksum OK for ice-1.38.16.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for intel-ice-kmod-1.38.16.1305000_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> intel-ice-kmod-1.38.16.1305000_2 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> intel-ice-kmod-1.38.16.1305000_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of intel-ice-kmod-1.38.16.1305000_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for intel-ice-kmod-1.38.16.1305000_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for intel-ice-kmod-1.38.16.1305000_2 make: "/wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/Makefile" line 28: Unable to locate the running kernel build directory. Kernel options may not be accurate. --- machine --- --- x86 --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16 --- machine --- machine -> /usr/src/sys/amd64/include --- x86 --- x86 -> /usr/src/sys/x86/include --- irdma_di_if.h --- --- irdma_if.h --- --- opt_inet.h --- --- opt_inet6.h --- --- opt_rss.h --- --- opt_global.h --- --- bus_if.h --- --- device_if.h --- --- ifdi_if.h --- --- irdma_di_if.c --- --- irdma_if.c --- --- pci_if.h --- --- irdma_di_if.c --- awk -f /usr/src/sys/tools/makeobjops.awk irdma_di_if.m -c touch opt_global.h --- opt_rss.h --- :> opt_rss.h --- irdma_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk irdma_if.m -h --- irdma_di_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk irdma_di_if.m -h --- irdma_if.c --- awk -f /usr/src/sys/tools/makeobjops.awk irdma_if.m -c --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- pci_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h --- ifdi_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/net/ifdi_if.m -h --- freebsd_compat_common.o --- --- ice_common.o --- --- ice_controlq.o --- --- ice_dcb.o --- --- ice_ddp.o --- --- ice_flex_pipe.o --- --- ice_flow.o --- --- ice_fw_logging.o --- --- ice_fwlog.o --- --- ice_iflib_recovery_txrx.o --- --- ice_iflib_txrx.o --- --- ice_lib.o --- --- ice_nvm.o --- --- ice_osdep.o --- --- ice_rdma.o --- --- ice_resmgr.o --- --- ice_sched.o --- --- ice_strings.o --- --- ice_switch.o --- --- ice_vlan_mode.o --- --- if_ice_iflib.o --- --- irdma_di_if.o --- --- irdma_if.o --- --- freebsd_compat_common.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.freebsd_compat_common.o -MTfreebsd_compat_common.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c freebsd_compat_common.c -o freebsd_compat_common.o --- ice_common.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_common.o -MTice_common.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality ---- ice_controlq.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_controlq.o -MTice_controlq.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equali--- ice_dcb.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_dcb.o -MTice_dcb.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-er--- ice_ddp.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_ddp.o -MTice_ddp.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-er--- ice_flex_pipe.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_flex_pipe.o -MTice_flex_pipe.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equa--- ice_flow.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_flow.o -MTice_flow.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno---- ice_fw_logging.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_fw_logging.o -MTice_fw_logging.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-eq--- ice_fwlog.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_fwlog.o -MTice_fwlog.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wn--- ice_iflib_recovery_txrx.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_iflib_recovery_txrx.o -MTice_iflib_recovery_txrx.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-er--- ice_iflib_txrx.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_iflib_txrx.o -MTice_iflib_txrx.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-eq--- ice_lib.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_lib.o -MTice_lib.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-er--- ice_nvm.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_nvm.o -MTice_nvm.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-er--- ice_osdep.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_osdep.o -MTice_osdep.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wn--- ice_rdma.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_rdma.o -MTice_rdma.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno---- ice_resmgr.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_resmgr.o -MTice_resmgr.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality ---- ice_sched.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_sched.o -MTice_sched.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wn--- ice_strings.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_strings.o -MTice_strings.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality--- ice_switch.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_switch.o -MTice_switch.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality ---- ice_vlan_mode.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_vlan_mode.o -MTice_vlan_mode.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equa--- if_ice_iflib.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.if_ice_iflib.o -MTif_ice_iflib.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equali--- irdma_di_if.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.irdma_di_if.o -MTirdma_di_if.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality--- ice_common.o --- Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_common.c -o ice_common.o --- ice_controlq.o --- ty -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_controlq.c -o ice_controlq.o --- ice_dcb.o --- ror=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_dcb.c -o ice_dcb.o --- ice_ddp.o --- ror=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_ddp.c -o ice_ddp.o --- ice_flex_pipe.o --- lity -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_flex_pipe.c -o ice_flex_pipe.o --- ice_flow.o --- error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_flow.c -o ice_flow.o --- ice_fw_logging.o --- uality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_fw_logging.c -o ice_fw_logging.o --- ice_fwlog.o --- o-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_fwlog.c -o ice_fwlog.o --- ice_iflib_recovery_txrx.o --- ror=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_iflib_recovery_txrx.c -o ice_iflib_recovery_txrx.o --- ice_iflib_txrx.o --- uality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_iflib_txrx.c -o ice_iflib_txrx.o --- ice_lib.o --- ror=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_lib.c -o ice_lib.o --- ice_nvm.o --- ror=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_nvm.c -o ice_nvm.o --- ice_osdep.o --- o-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_osdep.c -o ice_osdep.o --- ice_rdma.o --- error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_rdma.c -o ice_rdma.o --- ice_resmgr.o --- Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_resmgr.c -o ice_resmgr.o --- ice_sched.o --- o-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_sched.c -o ice_sched.o --- ice_strings.o --- -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_strings.c -o ice_strings.o --- ice_switch.o --- Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_switch.c -o ice_switch.o --- ice_vlan_mode.o --- lity -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_vlan_mode.c -o ice_vlan_mode.o --- if_ice_iflib.o --- ty -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c if_ice_iflib.c -o if_ice_iflib.o --- irdma_di_if.o --- -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c irdma_di_if.c -o irdma_di_if.o --- irdma_if.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -Wformat=2 -Wextra -Wno-missing-field-initializers --system-header-prefix=net --system-header-prefix=sys --system-header-prefix=dev/pci -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -g3 -gdwarf-4 -fdebug-macro -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.irdma_if.o -MTirdma_if.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c irdma_if.c -o irdma_if.o --- ice_iflib_recovery_txrx.o --- In file included from ice_iflib_recovery_txrx.c:43: In file included from ./ice_iflib.h:58: In file included from ./freebsd_compat_iflib.h:50: ./ifdi_if.h:27:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knlist_add_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *)') converts to incompatible function type [-Wcast-function-type-mismatch] 27 | rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:41:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knote_event_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 41 | rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:55:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_object_info_get_t *' (aka 'int (*)(struct iflib_ctx *, void *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 55 | rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:69:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 69 | rc = ((ifdi_attach_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:83:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 83 | rc = ((ifdi_attach_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:97:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 97 | rc = ((ifdi_reinit_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:111:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 111 | rc = ((ifdi_reinit_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:127:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_cloneattach_t *' (aka 'int (*)(struct iflib_ctx *, struct if_clone *, const char *, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | rc = ((ifdi_cloneattach_t *) _m)(_ctx, _ifc, _name, params); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:141:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_detach_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | rc = ((ifdi_detach_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:155:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_suspend_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | rc = ((ifdi_suspend_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:169:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_shutdown_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | rc = ((ifdi_shutdown_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:183:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_resume_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 183 | rc = ((ifdi_resume_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:200:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 200 | rc = ((ifdi_tx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, ntxqs, ntxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:217:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 217 | rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:230:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_queues_free_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 230 | ((ifdi_queues_free_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:244:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_clset_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short, unsigned short, char **)') converts to incompatible function type [-Wcast-function-type-mismatch] 244 | ((ifdi_rx_clset_t *) _m)(_ctx, _fl, _qsetid, _sdcl); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:256:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_init_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 256 | ((ifdi_init_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:268:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_stop_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 268 | ((ifdi_stop_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:281:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_msix_intr_assign_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | rc = ((ifdi_msix_intr_assign_t *) _m)(_sctx, msix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:294:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 294 | ((ifdi_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:306:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_disable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 306 | ((ifdi_intr_disable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:319:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 319 | rc = ((ifdi_rx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:333:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 333 | rc = ((ifdi_tx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:346:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_link_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 346 | ((ifdi_link_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:358:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_multi_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | ((ifdi_multi_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:371:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mtu_set_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 371 | rc = ((ifdi_mtu_set_t *) _m)(_ctx, _mtu); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:385:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mac_set_t *' (aka 'int (*)(struct iflib_ctx *, const unsigned char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 385 | rc = ((ifdi_mac_set_t *) _m)(_ctx, _mac); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:398:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 398 | ((ifdi_media_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:411:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_promisc_set_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 411 | rc = ((ifdi_promisc_set_t *) _m)(_ctx, _flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:424:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_crcstrip_set_t *' (aka 'void (*)(struct iflib_ctx *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 424 | ((ifdi_crcstrip_set_t *) _m)(_ctx, _onoff, _strip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:436:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vflr_handle_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 436 | ((ifdi_vflr_handle_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:451:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_init_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 451 | rc = ((ifdi_iov_init_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:464:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_uninit_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 464 | ((ifdi_iov_uninit_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:479:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_vf_add_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 479 | rc = ((ifdi_iov_vf_add_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:492:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_update_admin_status_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 492 | ((ifdi_update_admin_status_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:504:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_status_t *' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 504 | ((ifdi_media_status_t *) _m)(_ctx, _ifm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:517:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_change_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 517 | rc = ((ifdi_media_change_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:531:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_get_counter_t *' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') converts to incompatible function type [-Wcast-function-type-mismatch] 531 | rc = ((ifdi_get_counter_t *) _m)(_ctx, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:545:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_priv_ioctl_t *' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 545 | rc = ((ifdi_priv_ioctl_t *) _m)(_ctx, _cmd, _data); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:559:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_i2c_req_t *' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 559 | rc = ((ifdi_i2c_req_t *) _m)(_ctx, _req); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:573:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_txq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 573 | rc = ((ifdi_txq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:587:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rxq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 587 | rc = ((ifdi_rxq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:600:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_timer_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 600 | ((ifdi_timer_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:612:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 612 | ((ifdi_watchdog_reset_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:624:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_queue_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 624 | ((ifdi_watchdog_reset_queue_t *) _m)(_ctx, _q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:636:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_led_func_t *' (aka 'void (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 636 | ((ifdi_led_func_t *) _m)(_ctx, _onoff); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:648:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_register_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 648 | ((ifdi_vlan_register_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:660:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_unregister_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 660 | ((ifdi_vlan_unregister_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:674:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_sysctl_int_delay_t *' (aka 'int (*)(struct iflib_ctx *, struct if_int_delay_info *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | rc = ((ifdi_sysctl_int_delay_t *) _m)(_sctx, _iidi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:687:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_debug_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 687 | ((ifdi_debug_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:702:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_needs_restart_t *' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') converts to incompatible function type [-Wcast-function-type-mismatch] 702 | rc = ((ifdi_needs_restart_t *) _m)(_ctx, _event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 warnings generated. --- ice_fw_logging.o --- In file included from ice_fw_logging.c:41: In file included from ./ice_iflib.h:58: In file included from ./freebsd_compat_iflib.h:50: ./ifdi_if.h:27:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knlist_add_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *)') converts to incompatible function type [-Wcast-function-type-mismatch] 27 | rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:41:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knote_event_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 41 | rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:55:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_object_info_get_t *' (aka 'int (*)(struct iflib_ctx *, void *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 55 | rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:69:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 69 | rc = ((ifdi_attach_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:83:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 83 | rc = ((ifdi_attach_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:97:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 97 | rc = ((ifdi_reinit_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:111:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 111 | rc = ((ifdi_reinit_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:127:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_cloneattach_t *' (aka 'int (*)(struct iflib_ctx *, struct if_clone *, const char *, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | rc = ((ifdi_cloneattach_t *) _m)(_ctx, _ifc, _name, params); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:141:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_detach_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | rc = ((ifdi_detach_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:155:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_suspend_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | rc = ((ifdi_suspend_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:169:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_shutdown_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | rc = ((ifdi_shutdown_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:183:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_resume_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 183 | rc = ((ifdi_resume_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:200:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 200 | rc = ((ifdi_tx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, ntxqs, ntxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:217:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 217 | rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:230:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_queues_free_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 230 | ((ifdi_queues_free_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:244:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_clset_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short, unsigned short, char **)') converts to incompatible function type [-Wcast-function-type-mismatch] 244 | ((ifdi_rx_clset_t *) _m)(_ctx, _fl, _qsetid, _sdcl); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:256:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_init_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 256 | ((ifdi_init_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:268:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_stop_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 268 | ((ifdi_stop_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:281:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_msix_intr_assign_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | rc = ((ifdi_msix_intr_assign_t *) _m)(_sctx, msix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:294:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 294 | ((ifdi_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:306:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_disable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 306 | ((ifdi_intr_disable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:319:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 319 | rc = ((ifdi_rx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:333:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 333 | rc = ((ifdi_tx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:346:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_link_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 346 | ((ifdi_link_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:358:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_multi_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | ((ifdi_multi_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:371:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mtu_set_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 371 | rc = ((ifdi_mtu_set_t *) _m)(_ctx, _mtu); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:385:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mac_set_t *' (aka 'int (*)(struct iflib_ctx *, const unsigned char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 385 | rc = ((ifdi_mac_set_t *) _m)(_ctx, _mac); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:398:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 398 | ((ifdi_media_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:411:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_promisc_set_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 411 | rc = ((ifdi_promisc_set_t *) _m)(_ctx, _flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:424:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_crcstrip_set_t *' (aka 'void (*)(struct iflib_ctx *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 424 | ((ifdi_crcstrip_set_t *) _m)(_ctx, _onoff, _strip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:436:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vflr_handle_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 436 | ((ifdi_vflr_handle_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:451:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_init_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 451 | rc = ((ifdi_iov_init_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:464:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_uninit_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 464 | ((ifdi_iov_uninit_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:479:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_vf_add_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 479 | rc = ((ifdi_iov_vf_add_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:492:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_update_admin_status_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 492 | ((ifdi_update_admin_status_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:504:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_status_t *' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 504 | ((ifdi_media_status_t *) _m)(_ctx, _ifm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:517:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_change_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 517 | rc = ((ifdi_media_change_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:531:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_get_counter_t *' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') converts to incompatible function type [-Wcast-function-type-mismatch] 531 | rc = ((ifdi_get_counter_t *) _m)(_ctx, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:545:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_priv_ioctl_t *' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 545 | rc = ((ifdi_priv_ioctl_t *) _m)(_ctx, _cmd, _data); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:559:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_i2c_req_t *' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 559 | rc = ((ifdi_i2c_req_t *) _m)(_ctx, _req); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:573:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_txq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 573 | rc = ((ifdi_txq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:587:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rxq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 587 | rc = ((ifdi_rxq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:600:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_timer_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 600 | ((ifdi_timer_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:612:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 612 | ((ifdi_watchdog_reset_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:624:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_queue_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 624 | ((ifdi_watchdog_reset_queue_t *) _m)(_ctx, _q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:636:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_led_func_t *' (aka 'void (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 636 | ((ifdi_led_func_t *) _m)(_ctx, _onoff); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:648:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_register_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 648 | ((ifdi_vlan_register_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:660:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_unregister_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 660 | ((ifdi_vlan_unregister_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:674:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_sysctl_int_delay_t *' (aka 'int (*)(struct iflib_ctx *, struct if_int_delay_info *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | rc = ((ifdi_sysctl_int_delay_t *) _m)(_sctx, _iidi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:687:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_debug_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 687 | ((ifdi_debug_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:702:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_needs_restart_t *' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') converts to incompatible function type [-Wcast-function-type-mismatch] 702 | rc = ((ifdi_needs_restart_t *) _m)(_ctx, _event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 warnings generated. --- irdma_if.o --- In file included from irdma_if.c:18: ./irdma_if.h:43:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_probe_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 43 | rc = ((irdma_probe_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:65:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_open_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 65 | rc = ((irdma_open_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~ ./irdma_if.h:87:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_close_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 87 | rc = ((irdma_close_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:109:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_remove_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 109 | rc = ((irdma_remove_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:133:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_link_change_t *' (aka 'void (*)(struct ice_rdma_peer *, int, unsigned long)') converts to incompatible function type [-Wcast-function-type-mismatch] 133 | ((irdma_link_change_t *) _m)(peer, linkstate, baudrate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:147:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_event_handler_t *' (aka 'void (*)(struct ice_rdma_peer *, struct ice_rdma_event *)') converts to incompatible function type [-Wcast-function-type-mismatch] 147 | ((irdma_event_handler_t *) _m)(peer, event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. --- irdma_di_if.o --- In file included from irdma_di_if.c:18: ./irdma_di_if.h:42:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_reset_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 42 | rc = ((irdma_di_reset_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:67:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_msix_init_t *' (aka 'int (*)(struct ice_rdma_peer *, struct ice_rdma_msix_mapping *)') converts to incompatible function type [-Wcast-function-type-mismatch] 67 | rc = ((irdma_di_msix_init_t *) _m)(peer, msix_info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:91:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_qset_register_request_t *' (aka 'int (*)(struct ice_rdma_peer *, struct ice_rdma_qset_update *)') converts to incompatible function type [-Wcast-function-type-mismatch] 91 | rc = ((irdma_di_qset_register_request_t *) _m)(peer, res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:114:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_vsi_filter_update_t *' (aka 'int (*)(struct ice_rdma_peer *, _Bool)') converts to incompatible function type [-Wcast-function-type-mismatch] 114 | rc = ((irdma_di_vsi_filter_update_t *) _m)(peer, enable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:134:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_req_handler_t *' (aka 'void (*)(struct ice_rdma_peer *, struct ice_rdma_request *)') converts to incompatible function type [-Wcast-function-type-mismatch] 134 | ((irdma_di_req_handler_t *) _m)(peer, req); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. --- ice_iflib_txrx.o --- In file included from ice_iflib_txrx.c:43: In file included from ./ice_iflib.h:58: In file included from ./freebsd_compat_iflib.h:50: ./ifdi_if.h:27:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knlist_add_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *)') converts to incompatible function type [-Wcast-function-type-mismatch] 27 | rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:41:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knote_event_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 41 | rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:55:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_object_info_get_t *' (aka 'int (*)(struct iflib_ctx *, void *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 55 | rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:69:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 69 | rc = ((ifdi_attach_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:83:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 83 | rc = ((ifdi_attach_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:97:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 97 | rc = ((ifdi_reinit_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:111:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 111 | rc = ((ifdi_reinit_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:127:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_cloneattach_t *' (aka 'int (*)(struct iflib_ctx *, struct if_clone *, const char *, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | rc = ((ifdi_cloneattach_t *) _m)(_ctx, _ifc, _name, params); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:141:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_detach_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | rc = ((ifdi_detach_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:155:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_suspend_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | rc = ((ifdi_suspend_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:169:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_shutdown_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | rc = ((ifdi_shutdown_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:183:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_resume_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 183 | rc = ((ifdi_resume_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:200:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 200 | rc = ((ifdi_tx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, ntxqs, ntxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:217:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 217 | rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:230:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_queues_free_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 230 | ((ifdi_queues_free_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:244:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_clset_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short, unsigned short, char **)') converts to incompatible function type [-Wcast-function-type-mismatch] 244 | ((ifdi_rx_clset_t *) _m)(_ctx, _fl, _qsetid, _sdcl); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:256:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_init_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 256 | ((ifdi_init_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:268:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_stop_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 268 | ((ifdi_stop_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:281:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_msix_intr_assign_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | rc = ((ifdi_msix_intr_assign_t *) _m)(_sctx, msix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:294:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 294 | ((ifdi_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:306:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_disable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 306 | ((ifdi_intr_disable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:319:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 319 | rc = ((ifdi_rx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:333:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 333 | rc = ((ifdi_tx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:346:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_link_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 346 | ((ifdi_link_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:358:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_multi_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | ((ifdi_multi_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:371:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mtu_set_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 371 | rc = ((ifdi_mtu_set_t *) _m)(_ctx, _mtu); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:385:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mac_set_t *' (aka 'int (*)(struct iflib_ctx *, const unsigned char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 385 | rc = ((ifdi_mac_set_t *) _m)(_ctx, _mac); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:398:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 398 | ((ifdi_media_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:411:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_promisc_set_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 411 | rc = ((ifdi_promisc_set_t *) _m)(_ctx, _flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:424:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_crcstrip_set_t *' (aka 'void (*)(struct iflib_ctx *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 424 | ((ifdi_crcstrip_set_t *) _m)(_ctx, _onoff, _strip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:436:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vflr_handle_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 436 | ((ifdi_vflr_handle_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:451:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_init_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 451 | rc = ((ifdi_iov_init_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:464:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_uninit_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 464 | ((ifdi_iov_uninit_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:479:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_vf_add_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 479 | rc = ((ifdi_iov_vf_add_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:492:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_update_admin_status_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 492 | ((ifdi_update_admin_status_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:504:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_status_t *' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 504 | ((ifdi_media_status_t *) _m)(_ctx, _ifm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:517:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_change_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 517 | rc = ((ifdi_media_change_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:531:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_get_counter_t *' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') converts to incompatible function type [-Wcast-function-type-mismatch] 531 | rc = ((ifdi_get_counter_t *) _m)(_ctx, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:545:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_priv_ioctl_t *' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 545 | rc = ((ifdi_priv_ioctl_t *) _m)(_ctx, _cmd, _data); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:559:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_i2c_req_t *' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 559 | rc = ((ifdi_i2c_req_t *) _m)(_ctx, _req); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:573:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_txq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 573 | rc = ((ifdi_txq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:587:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rxq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 587 | rc = ((ifdi_rxq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:600:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_timer_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 600 | ((ifdi_timer_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:612:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 612 | ((ifdi_watchdog_reset_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:624:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_queue_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 624 | ((ifdi_watchdog_reset_queue_t *) _m)(_ctx, _q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:636:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_led_func_t *' (aka 'void (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 636 | ((ifdi_led_func_t *) _m)(_ctx, _onoff); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:648:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_register_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 648 | ((ifdi_vlan_register_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:660:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_unregister_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 660 | ((ifdi_vlan_unregister_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:674:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_sysctl_int_delay_t *' (aka 'int (*)(struct iflib_ctx *, struct if_int_delay_info *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | rc = ((ifdi_sysctl_int_delay_t *) _m)(_sctx, _iidi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:687:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_debug_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 687 | ((ifdi_debug_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:702:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_needs_restart_t *' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') converts to incompatible function type [-Wcast-function-type-mismatch] 702 | rc = ((ifdi_needs_restart_t *) _m)(_ctx, _event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 warnings generated. --- ice_rdma.o --- In file included from ice_rdma.c:51: In file included from ./ice_iflib.h:58: In file included from ./freebsd_compat_iflib.h:50: ./ifdi_if.h:27:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knlist_add_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *)') converts to incompatible function type [-Wcast-function-type-mismatch] 27 | rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:41:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knote_event_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 41 | rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:55:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_object_info_get_t *' (aka 'int (*)(struct iflib_ctx *, void *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 55 | rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:69:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 69 | rc = ((ifdi_attach_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:83:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 83 | rc = ((ifdi_attach_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:97:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 97 | rc = ((ifdi_reinit_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:111:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 111 | rc = ((ifdi_reinit_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:127:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_cloneattach_t *' (aka 'int (*)(struct iflib_ctx *, struct if_clone *, const char *, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | rc = ((ifdi_cloneattach_t *) _m)(_ctx, _ifc, _name, params); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:141:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_detach_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | rc = ((ifdi_detach_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:155:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_suspend_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | rc = ((ifdi_suspend_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:169:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_shutdown_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | rc = ((ifdi_shutdown_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:183:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_resume_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 183 | rc = ((ifdi_resume_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:200:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 200 | rc = ((ifdi_tx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, ntxqs, ntxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:217:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 217 | rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:230:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_queues_free_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 230 | ((ifdi_queues_free_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:244:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_clset_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short, unsigned short, char **)') converts to incompatible function type [-Wcast-function-type-mismatch] 244 | ((ifdi_rx_clset_t *) _m)(_ctx, _fl, _qsetid, _sdcl); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:256:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_init_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 256 | ((ifdi_init_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:268:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_stop_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 268 | ((ifdi_stop_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:281:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_msix_intr_assign_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | rc = ((ifdi_msix_intr_assign_t *) _m)(_sctx, msix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:294:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 294 | ((ifdi_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:306:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_disable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 306 | ((ifdi_intr_disable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:319:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 319 | rc = ((ifdi_rx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:333:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 333 | rc = ((ifdi_tx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:346:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_link_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 346 | ((ifdi_link_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:358:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_multi_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | ((ifdi_multi_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:371:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mtu_set_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 371 | rc = ((ifdi_mtu_set_t *) _m)(_ctx, _mtu); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:385:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mac_set_t *' (aka 'int (*)(struct iflib_ctx *, const unsigned char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 385 | rc = ((ifdi_mac_set_t *) _m)(_ctx, _mac); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:398:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 398 | ((ifdi_media_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:411:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_promisc_set_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 411 | rc = ((ifdi_promisc_set_t *) _m)(_ctx, _flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:424:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_crcstrip_set_t *' (aka 'void (*)(struct iflib_ctx *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 424 | ((ifdi_crcstrip_set_t *) _m)(_ctx, _onoff, _strip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:436:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vflr_handle_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 436 | ((ifdi_vflr_handle_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:451:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_init_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 451 | rc = ((ifdi_iov_init_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:464:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_uninit_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 464 | ((ifdi_iov_uninit_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:479:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_vf_add_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 479 | rc = ((ifdi_iov_vf_add_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:492:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_update_admin_status_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 492 | ((ifdi_update_admin_status_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:504:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_status_t *' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 504 | ((ifdi_media_status_t *) _m)(_ctx, _ifm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:517:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_change_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 517 | rc = ((ifdi_media_change_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:531:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_get_counter_t *' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') converts to incompatible function type [-Wcast-function-type-mismatch] 531 | rc = ((ifdi_get_counter_t *) _m)(_ctx, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:545:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_priv_ioctl_t *' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 545 | rc = ((ifdi_priv_ioctl_t *) _m)(_ctx, _cmd, _data); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:559:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_i2c_req_t *' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 559 | rc = ((ifdi_i2c_req_t *) _m)(_ctx, _req); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:573:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_txq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 573 | rc = ((ifdi_txq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:587:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rxq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 587 | rc = ((ifdi_rxq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:600:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_timer_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 600 | ((ifdi_timer_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:612:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 612 | ((ifdi_watchdog_reset_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:624:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_queue_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 624 | ((ifdi_watchdog_reset_queue_t *) _m)(_ctx, _q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:636:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_led_func_t *' (aka 'void (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 636 | ((ifdi_led_func_t *) _m)(_ctx, _onoff); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:648:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_register_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 648 | ((ifdi_vlan_register_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:660:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_unregister_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 660 | ((ifdi_vlan_unregister_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:674:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_sysctl_int_delay_t *' (aka 'int (*)(struct iflib_ctx *, struct if_int_delay_info *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | rc = ((ifdi_sysctl_int_delay_t *) _m)(_sctx, _iidi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:687:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_debug_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 687 | ((ifdi_debug_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:702:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_needs_restart_t *' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') converts to incompatible function type [-Wcast-function-type-mismatch] 702 | rc = ((ifdi_needs_restart_t *) _m)(_ctx, _event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ice_rdma.c:54: ./irdma_if.h:43:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_probe_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 43 | rc = ((irdma_probe_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:65:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_open_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 65 | rc = ((irdma_open_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~ ./irdma_if.h:87:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_close_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 87 | rc = ((irdma_close_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:109:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_remove_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 109 | rc = ((irdma_remove_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:133:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_link_change_t *' (aka 'void (*)(struct ice_rdma_peer *, int, unsigned long)') converts to incompatible function type [-Wcast-function-type-mismatch] 133 | ((irdma_link_change_t *) _m)(peer, linkstate, baudrate); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_if.h:147:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_event_handler_t *' (aka 'void (*)(struct ice_rdma_peer *, struct ice_rdma_event *)') converts to incompatible function type [-Wcast-function-type-mismatch] 147 | ((irdma_event_handler_t *) _m)(peer, event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ice_rdma.c:55: ./irdma_di_if.h:42:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_reset_t *' (aka 'int (*)(struct ice_rdma_peer *)') converts to incompatible function type [-Wcast-function-type-mismatch] 42 | rc = ((irdma_di_reset_t *) _m)(peer); | ^~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:67:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_msix_init_t *' (aka 'int (*)(struct ice_rdma_peer *, struct ice_rdma_msix_mapping *)') converts to incompatible function type [-Wcast-function-type-mismatch] 67 | rc = ((irdma_di_msix_init_t *) _m)(peer, msix_info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:91:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_qset_register_request_t *' (aka 'int (*)(struct ice_rdma_peer *, struct ice_rdma_qset_update *)') converts to incompatible function type [-Wcast-function-type-mismatch] 91 | rc = ((irdma_di_qset_register_request_t *) _m)(peer, res); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:114:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_vsi_filter_update_t *' (aka 'int (*)(struct ice_rdma_peer *, _Bool)') converts to incompatible function type [-Wcast-function-type-mismatch] 114 | rc = ((irdma_di_vsi_filter_update_t *) _m)(peer, enable); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./irdma_di_if.h:134:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'irdma_di_req_handler_t *' (aka 'void (*)(struct ice_rdma_peer *, struct ice_rdma_request *)') converts to incompatible function type [-Wcast-function-type-mismatch] 134 | ((irdma_di_req_handler_t *) _m)(peer, req); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_rdma.c:102:2: warning: cast from 'int (*)(struct ice_rdma_peer *)' to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 102 | KOBJMETHOD(irdma_di_reset, ice_rdma_pf_reset), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_rdma.c:103:2: warning: cast from 'int (*)(struct ice_rdma_peer *, struct ice_rdma_msix_mapping *)' to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 103 | KOBJMETHOD(irdma_di_msix_init, ice_rdma_pf_msix_init), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_rdma.c:104:2: warning: cast from 'int (*)(struct ice_rdma_peer *, struct ice_rdma_qset_update *)' to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 104 | KOBJMETHOD(irdma_di_qset_register_request, ice_rdma_qset_register_request), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_rdma.c:105:2: warning: cast from 'int (*)(struct ice_rdma_peer *, bool)' (aka 'int (*)(struct ice_rdma_peer *, _Bool)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 105 | KOBJMETHOD(irdma_di_vsi_filter_update, ice_rdma_update_vsi_filter), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_rdma.c:106:2: warning: cast from 'void (*)(struct ice_rdma_peer *, struct ice_rdma_request *)' to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 106 | KOBJMETHOD(irdma_di_req_handler, ice_rdma_request_handler), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 67 warnings generated. --- ice_osdep.o --- In file included from ice_osdep.c:43: In file included from ./ice_iflib.h:58: In file included from ./freebsd_compat_iflib.h:50: ./ifdi_if.h:27:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knlist_add_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *)') converts to incompatible function type [-Wcast-function-type-mismatch] 27 | rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:41:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knote_event_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 41 | rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:55:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_object_info_get_t *' (aka 'int (*)(struct iflib_ctx *, void *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 55 | rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:69:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 69 | rc = ((ifdi_attach_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:83:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 83 | rc = ((ifdi_attach_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:97:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 97 | rc = ((ifdi_reinit_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:111:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 111 | rc = ((ifdi_reinit_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:127:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_cloneattach_t *' (aka 'int (*)(struct iflib_ctx *, struct if_clone *, const char *, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | rc = ((ifdi_cloneattach_t *) _m)(_ctx, _ifc, _name, params); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:141:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_detach_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | rc = ((ifdi_detach_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:155:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_suspend_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | rc = ((ifdi_suspend_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:169:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_shutdown_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | rc = ((ifdi_shutdown_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:183:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_resume_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 183 | rc = ((ifdi_resume_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:200:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 200 | rc = ((ifdi_tx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, ntxqs, ntxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:217:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 217 | rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:230:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_queues_free_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 230 | ((ifdi_queues_free_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:244:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_clset_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short, unsigned short, char **)') converts to incompatible function type [-Wcast-function-type-mismatch] 244 | ((ifdi_rx_clset_t *) _m)(_ctx, _fl, _qsetid, _sdcl); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:256:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_init_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 256 | ((ifdi_init_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:268:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_stop_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 268 | ((ifdi_stop_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:281:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_msix_intr_assign_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | rc = ((ifdi_msix_intr_assign_t *) _m)(_sctx, msix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:294:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 294 | ((ifdi_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:306:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_disable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 306 | ((ifdi_intr_disable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:319:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 319 | rc = ((ifdi_rx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:333:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 333 | rc = ((ifdi_tx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:346:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_link_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 346 | ((ifdi_link_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:358:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_multi_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | ((ifdi_multi_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:371:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mtu_set_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 371 | rc = ((ifdi_mtu_set_t *) _m)(_ctx, _mtu); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:385:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mac_set_t *' (aka 'int (*)(struct iflib_ctx *, const unsigned char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 385 | rc = ((ifdi_mac_set_t *) _m)(_ctx, _mac); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:398:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 398 | ((ifdi_media_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:411:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_promisc_set_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 411 | rc = ((ifdi_promisc_set_t *) _m)(_ctx, _flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:424:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_crcstrip_set_t *' (aka 'void (*)(struct iflib_ctx *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 424 | ((ifdi_crcstrip_set_t *) _m)(_ctx, _onoff, _strip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:436:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vflr_handle_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 436 | ((ifdi_vflr_handle_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:451:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_init_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 451 | rc = ((ifdi_iov_init_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:464:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_uninit_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 464 | ((ifdi_iov_uninit_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:479:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_vf_add_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 479 | rc = ((ifdi_iov_vf_add_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:492:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_update_admin_status_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 492 | ((ifdi_update_admin_status_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:504:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_status_t *' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 504 | ((ifdi_media_status_t *) _m)(_ctx, _ifm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:517:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_change_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 517 | rc = ((ifdi_media_change_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:531:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_get_counter_t *' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') converts to incompatible function type [-Wcast-function-type-mismatch] 531 | rc = ((ifdi_get_counter_t *) _m)(_ctx, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:545:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_priv_ioctl_t *' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 545 | rc = ((ifdi_priv_ioctl_t *) _m)(_ctx, _cmd, _data); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:559:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_i2c_req_t *' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 559 | rc = ((ifdi_i2c_req_t *) _m)(_ctx, _req); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:573:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_txq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 573 | rc = ((ifdi_txq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:587:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rxq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 587 | rc = ((ifdi_rxq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:600:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_timer_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 600 | ((ifdi_timer_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:612:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 612 | ((ifdi_watchdog_reset_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:624:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_queue_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 624 | ((ifdi_watchdog_reset_queue_t *) _m)(_ctx, _q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:636:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_led_func_t *' (aka 'void (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 636 | ((ifdi_led_func_t *) _m)(_ctx, _onoff); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:648:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_register_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 648 | ((ifdi_vlan_register_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:660:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_unregister_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 660 | ((ifdi_vlan_unregister_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:674:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_sysctl_int_delay_t *' (aka 'int (*)(struct iflib_ctx *, struct if_int_delay_info *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | rc = ((ifdi_sysctl_int_delay_t *) _m)(_sctx, _iidi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:687:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_debug_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 687 | ((ifdi_debug_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:702:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_needs_restart_t *' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') converts to incompatible function type [-Wcast-function-type-mismatch] 702 | rc = ((ifdi_needs_restart_t *) _m)(_ctx, _event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 warnings generated. --- if_ice_iflib.o --- In file included from if_ice_iflib.c:42: In file included from ./ice_iflib.h:58: In file included from ./freebsd_compat_iflib.h:50: ./ifdi_if.h:27:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knlist_add_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *)') converts to incompatible function type [-Wcast-function-type-mismatch] 27 | rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:41:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knote_event_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 41 | rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:55:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_object_info_get_t *' (aka 'int (*)(struct iflib_ctx *, void *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 55 | rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:69:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 69 | rc = ((ifdi_attach_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:83:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 83 | rc = ((ifdi_attach_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:97:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 97 | rc = ((ifdi_reinit_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:111:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 111 | rc = ((ifdi_reinit_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:127:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_cloneattach_t *' (aka 'int (*)(struct iflib_ctx *, struct if_clone *, const char *, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | rc = ((ifdi_cloneattach_t *) _m)(_ctx, _ifc, _name, params); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:141:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_detach_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | rc = ((ifdi_detach_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:155:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_suspend_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | rc = ((ifdi_suspend_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:169:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_shutdown_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | rc = ((ifdi_shutdown_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:183:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_resume_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 183 | rc = ((ifdi_resume_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:200:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 200 | rc = ((ifdi_tx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, ntxqs, ntxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:217:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 217 | rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:230:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_queues_free_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 230 | ((ifdi_queues_free_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:244:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_clset_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short, unsigned short, char **)') converts to incompatible function type [-Wcast-function-type-mismatch] 244 | ((ifdi_rx_clset_t *) _m)(_ctx, _fl, _qsetid, _sdcl); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:256:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_init_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 256 | ((ifdi_init_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:268:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_stop_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 268 | ((ifdi_stop_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:281:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_msix_intr_assign_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | rc = ((ifdi_msix_intr_assign_t *) _m)(_sctx, msix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:294:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 294 | ((ifdi_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:306:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_disable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 306 | ((ifdi_intr_disable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:319:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 319 | rc = ((ifdi_rx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:333:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 333 | rc = ((ifdi_tx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:346:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_link_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 346 | ((ifdi_link_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:358:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_multi_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | ((ifdi_multi_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:371:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mtu_set_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 371 | rc = ((ifdi_mtu_set_t *) _m)(_ctx, _mtu); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:385:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mac_set_t *' (aka 'int (*)(struct iflib_ctx *, const unsigned char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 385 | rc = ((ifdi_mac_set_t *) _m)(_ctx, _mac); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:398:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 398 | ((ifdi_media_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:411:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_promisc_set_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 411 | rc = ((ifdi_promisc_set_t *) _m)(_ctx, _flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:424:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_crcstrip_set_t *' (aka 'void (*)(struct iflib_ctx *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 424 | ((ifdi_crcstrip_set_t *) _m)(_ctx, _onoff, _strip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:436:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vflr_handle_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 436 | ((ifdi_vflr_handle_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:451:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_init_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 451 | rc = ((ifdi_iov_init_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:464:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_uninit_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 464 | ((ifdi_iov_uninit_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:479:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_vf_add_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 479 | rc = ((ifdi_iov_vf_add_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:492:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_update_admin_status_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 492 | ((ifdi_update_admin_status_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:504:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_status_t *' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 504 | ((ifdi_media_status_t *) _m)(_ctx, _ifm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:517:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_change_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 517 | rc = ((ifdi_media_change_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:531:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_get_counter_t *' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') converts to incompatible function type [-Wcast-function-type-mismatch] 531 | rc = ((ifdi_get_counter_t *) _m)(_ctx, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:545:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_priv_ioctl_t *' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 545 | rc = ((ifdi_priv_ioctl_t *) _m)(_ctx, _cmd, _data); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:559:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_i2c_req_t *' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 559 | rc = ((ifdi_i2c_req_t *) _m)(_ctx, _req); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:573:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_txq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 573 | rc = ((ifdi_txq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:587:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rxq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 587 | rc = ((ifdi_rxq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:600:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_timer_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 600 | ((ifdi_timer_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:612:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 612 | ((ifdi_watchdog_reset_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:624:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_queue_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 624 | ((ifdi_watchdog_reset_queue_t *) _m)(_ctx, _q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:636:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_led_func_t *' (aka 'void (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 636 | ((ifdi_led_func_t *) _m)(_ctx, _onoff); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:648:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_register_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 648 | ((ifdi_vlan_register_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:660:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_unregister_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 660 | ((ifdi_vlan_unregister_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:674:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_sysctl_int_delay_t *' (aka 'int (*)(struct iflib_ctx *, struct if_int_delay_info *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | rc = ((ifdi_sysctl_int_delay_t *) _m)(_sctx, _iidi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:687:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_debug_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 687 | ((ifdi_debug_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:702:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_needs_restart_t *' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') converts to incompatible function type [-Wcast-function-type-mismatch] 702 | rc = ((ifdi_needs_restart_t *) _m)(_ctx, _event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:132:2: warning: cast from 'void *(*)(device_t)' (aka 'void *(*)(struct _device *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 132 | DEVMETHOD(device_register, ice_register), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:133:2: warning: cast from 'int (*)(device_t)' (aka 'int (*)(struct _device *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 133 | DEVMETHOD(device_probe, iflib_device_probe_vendor), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:134:2: warning: cast from 'int (*)(device_t)' (aka 'int (*)(struct _device *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 134 | DEVMETHOD(device_attach, iflib_device_attach), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:135:2: warning: cast from 'int (*)(device_t)' (aka 'int (*)(struct _device *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 135 | DEVMETHOD(device_detach, iflib_device_detach), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:136:2: warning: cast from 'int (*)(device_t)' (aka 'int (*)(struct _device *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 136 | DEVMETHOD(device_shutdown, iflib_device_shutdown), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:137:2: warning: cast from 'int (*)(device_t)' (aka 'int (*)(struct _device *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 137 | DEVMETHOD(device_suspend, iflib_device_suspend), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:138:2: warning: cast from 'int (*)(device_t)' (aka 'int (*)(struct _device *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 138 | DEVMETHOD(device_resume, iflib_device_resume), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:151:2: warning: cast from 'int (*)(if_ctx_t)' (aka 'int (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 151 | DEVMETHOD(ifdi_attach_pre, ice_if_attach_pre), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:152:2: warning: cast from 'int (*)(if_ctx_t)' (aka 'int (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 152 | DEVMETHOD(ifdi_attach_post, ice_if_attach_post), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:153:2: warning: cast from 'int (*)(if_ctx_t)' (aka 'int (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 153 | DEVMETHOD(ifdi_detach, ice_if_detach), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:154:2: warning: cast from 'int (*)(if_ctx_t, caddr_t *, uint64_t *, int, int)' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 154 | DEVMETHOD(ifdi_tx_queues_alloc, ice_if_tx_queues_alloc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:155:2: warning: cast from 'int (*)(if_ctx_t, caddr_t *, uint64_t *, int, int)' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | DEVMETHOD(ifdi_rx_queues_alloc, ice_if_rx_queues_alloc), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:156:2: warning: cast from 'int (*)(if_ctx_t, int)' (aka 'int (*)(struct iflib_ctx *, int)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 156 | DEVMETHOD(ifdi_msix_intr_assign, ice_if_msix_intr_assign), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:157:2: warning: cast from 'void (*)(if_ctx_t)' (aka 'void (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 157 | DEVMETHOD(ifdi_queues_free, ice_if_queues_free), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:158:2: warning: cast from 'int (*)(if_ctx_t, uint32_t)' (aka 'int (*)(struct iflib_ctx *, unsigned int)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 158 | DEVMETHOD(ifdi_mtu_set, ice_if_mtu_set), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:159:2: warning: cast from 'void (*)(if_ctx_t)' (aka 'void (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 159 | DEVMETHOD(ifdi_intr_enable, ice_if_intr_enable), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:160:2: warning: cast from 'void (*)(if_ctx_t)' (aka 'void (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 160 | DEVMETHOD(ifdi_intr_disable, ice_if_intr_disable), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:162:2: warning: cast from 'int (*)(if_ctx_t, uint16_t)' (aka 'int (*)(struct iflib_ctx *, unsigned short)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 162 | DEVMETHOD(ifdi_rx_queue_intr_enable, ice_if_rx_queue_intr_enable), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:163:2: warning: cast from 'int (*)(if_ctx_t, uint16_t)' (aka 'int (*)(struct iflib_ctx *, unsigned short)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 163 | DEVMETHOD(ifdi_tx_queue_intr_enable, ice_if_tx_queue_intr_enable), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:167:2: warning: cast from 'int (*)(if_ctx_t, int)' (aka 'int (*)(struct iflib_ctx *, int)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 167 | DEVMETHOD(ifdi_promisc_set, ice_if_promisc_set), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:168:2: warning: cast from 'void (*)(if_ctx_t, struct ifmediareq *)' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 168 | DEVMETHOD(ifdi_media_status, ice_if_media_status), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:169:2: warning: cast from 'int (*)(if_ctx_t)' (aka 'int (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | DEVMETHOD(ifdi_media_change, ice_if_media_change), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:170:2: warning: cast from 'void (*)(if_ctx_t)' (aka 'void (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 170 | DEVMETHOD(ifdi_init, ice_if_init), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:171:2: warning: cast from 'void (*)(if_ctx_t)' (aka 'void (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 171 | DEVMETHOD(ifdi_stop, ice_if_stop), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:172:2: warning: cast from 'void (*)(if_ctx_t, uint16_t)' (aka 'void (*)(struct iflib_ctx *, unsigned short)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 172 | DEVMETHOD(ifdi_timer, ice_if_timer), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:173:2: warning: cast from 'void (*)(if_ctx_t)' (aka 'void (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 173 | DEVMETHOD(ifdi_update_admin_status, ice_if_update_admin_status), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:174:2: warning: cast from 'void (*)(if_ctx_t)' (aka 'void (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 174 | DEVMETHOD(ifdi_multi_set, ice_if_multi_set), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:175:2: warning: cast from 'void (*)(if_ctx_t, uint16_t)' (aka 'void (*)(struct iflib_ctx *, unsigned short)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 175 | DEVMETHOD(ifdi_vlan_register, ice_if_vlan_register), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:176:2: warning: cast from 'void (*)(if_ctx_t, uint16_t)' (aka 'void (*)(struct iflib_ctx *, unsigned short)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 176 | DEVMETHOD(ifdi_vlan_unregister, ice_if_vlan_unregister), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:177:2: warning: cast from 'uint64_t (*)(if_ctx_t, ift_counter)' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 177 | DEVMETHOD(ifdi_get_counter, ice_if_get_counter), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:178:2: warning: cast from 'int (*)(if_ctx_t, u_long, caddr_t)' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 178 | DEVMETHOD(ifdi_priv_ioctl, ice_if_priv_ioctl), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:179:2: warning: cast from 'int (*)(if_ctx_t, struct ifi2creq *)' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 179 | DEVMETHOD(ifdi_i2c_req, ice_if_i2c_req), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:180:2: warning: cast from 'int (*)(if_ctx_t)' (aka 'int (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 180 | DEVMETHOD(ifdi_suspend, ice_if_suspend), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:181:2: warning: cast from 'int (*)(if_ctx_t)' (aka 'int (*)(struct iflib_ctx *)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 181 | DEVMETHOD(ifdi_resume, ice_if_resume), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if_ice_iflib.c:182:2: warning: cast from 'bool (*)(if_ctx_t, enum iflib_restart_event)' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') to 'kobjop_t' (aka 'int (*)(void)') converts to incompatible function type [-Wcast-function-type-mismatch] 182 | DEVMETHOD(ifdi_needs_restart, ice_if_needs_restart), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/sys/bus.h:765:19: note: expanded from macro 'DEVMETHOD' 765 | #define DEVMETHOD KOBJMETHOD | ^ /usr/src/sys/sys/kobj.h:98:18: note: expanded from macro 'KOBJMETHOD' 98 | { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 warnings generated. --- ice_lib.o --- In file included from ice_lib.c:45: In file included from ./ice_iflib.h:58: In file included from ./freebsd_compat_iflib.h:50: ./ifdi_if.h:27:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knlist_add_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *)') converts to incompatible function type [-Wcast-function-type-mismatch] 27 | rc = ((ifdi_knlist_add_t *) _m)(_ctx, _kn); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:41:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_knote_event_t *' (aka 'int (*)(struct iflib_ctx *, struct knote *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 41 | rc = ((ifdi_knote_event_t *) _m)(_ctx, _kn, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:55:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_object_info_get_t *' (aka 'int (*)(struct iflib_ctx *, void *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 55 | rc = ((ifdi_object_info_get_t *) _m)(_ctx, data, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:69:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 69 | rc = ((ifdi_attach_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:83:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_attach_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 83 | rc = ((ifdi_attach_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:97:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_pre_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 97 | rc = ((ifdi_reinit_pre_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:111:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_reinit_post_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 111 | rc = ((ifdi_reinit_post_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:127:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_cloneattach_t *' (aka 'int (*)(struct iflib_ctx *, struct if_clone *, const char *, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 127 | rc = ((ifdi_cloneattach_t *) _m)(_ctx, _ifc, _name, params); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:141:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_detach_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 141 | rc = ((ifdi_detach_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:155:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_suspend_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 155 | rc = ((ifdi_suspend_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:169:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_shutdown_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 169 | rc = ((ifdi_shutdown_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:183:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_resume_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 183 | rc = ((ifdi_resume_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:200:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 200 | rc = ((ifdi_tx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, ntxqs, ntxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:217:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queues_alloc_t *' (aka 'int (*)(struct iflib_ctx *, char **, unsigned long *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 217 | rc = ((ifdi_rx_queues_alloc_t *) _m)(_ctx, _vaddrs, _paddrs, nrxqs, nrxqsets); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:230:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_queues_free_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 230 | ((ifdi_queues_free_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:244:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_clset_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short, unsigned short, char **)') converts to incompatible function type [-Wcast-function-type-mismatch] 244 | ((ifdi_rx_clset_t *) _m)(_ctx, _fl, _qsetid, _sdcl); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:256:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_init_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 256 | ((ifdi_init_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:268:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_stop_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 268 | ((ifdi_stop_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~ ./ifdi_if.h:281:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_msix_intr_assign_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 281 | rc = ((ifdi_msix_intr_assign_t *) _m)(_sctx, msix); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:294:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 294 | ((ifdi_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:306:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_intr_disable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 306 | ((ifdi_intr_disable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:319:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 319 | rc = ((ifdi_rx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:333:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_tx_queue_intr_enable_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 333 | rc = ((ifdi_tx_queue_intr_enable_t *) _m)(_ctx, _qid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:346:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_link_intr_enable_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 346 | ((ifdi_link_intr_enable_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:358:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_multi_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 358 | ((ifdi_multi_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:371:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mtu_set_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 371 | rc = ((ifdi_mtu_set_t *) _m)(_ctx, _mtu); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:385:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_mac_set_t *' (aka 'int (*)(struct iflib_ctx *, const unsigned char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 385 | rc = ((ifdi_mac_set_t *) _m)(_ctx, _mac); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:398:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_set_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 398 | ((ifdi_media_set_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:411:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_promisc_set_t *' (aka 'int (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 411 | rc = ((ifdi_promisc_set_t *) _m)(_ctx, _flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:424:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_crcstrip_set_t *' (aka 'void (*)(struct iflib_ctx *, int, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 424 | ((ifdi_crcstrip_set_t *) _m)(_ctx, _onoff, _strip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:436:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vflr_handle_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 436 | ((ifdi_vflr_handle_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:451:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_init_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 451 | rc = ((ifdi_iov_init_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:464:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_uninit_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 464 | ((ifdi_iov_uninit_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:479:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_iov_vf_add_t *' (aka 'int (*)(struct iflib_ctx *, unsigned short, const struct nvlist *)') converts to incompatible function type [-Wcast-function-type-mismatch] 479 | rc = ((ifdi_iov_vf_add_t *) _m)(_ctx, num_vfs, params); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:492:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_update_admin_status_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 492 | ((ifdi_update_admin_status_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:504:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_status_t *' (aka 'void (*)(struct iflib_ctx *, struct ifmediareq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 504 | ((ifdi_media_status_t *) _m)(_ctx, _ifm); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:517:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_media_change_t *' (aka 'int (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 517 | rc = ((ifdi_media_change_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:531:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_get_counter_t *' (aka 'unsigned long (*)(struct iflib_ctx *, ift_counter)') converts to incompatible function type [-Wcast-function-type-mismatch] 531 | rc = ((ifdi_get_counter_t *) _m)(_ctx, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:545:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_priv_ioctl_t *' (aka 'int (*)(struct iflib_ctx *, unsigned long, char *)') converts to incompatible function type [-Wcast-function-type-mismatch] 545 | rc = ((ifdi_priv_ioctl_t *) _m)(_ctx, _cmd, _data); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:559:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_i2c_req_t *' (aka 'int (*)(struct iflib_ctx *, struct ifi2creq *)') converts to incompatible function type [-Wcast-function-type-mismatch] 559 | rc = ((ifdi_i2c_req_t *) _m)(_ctx, _req); | ^~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:573:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_txq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 573 | rc = ((ifdi_txq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:587:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_rxq_setup_t *' (aka 'int (*)(struct iflib_ctx *, unsigned int)') converts to incompatible function type [-Wcast-function-type-mismatch] 587 | rc = ((ifdi_rxq_setup_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:600:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_timer_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 600 | ((ifdi_timer_t *) _m)(_ctx, _txqid); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:612:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 612 | ((ifdi_watchdog_reset_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:624:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_watchdog_reset_queue_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 624 | ((ifdi_watchdog_reset_queue_t *) _m)(_ctx, _q); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:636:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_led_func_t *' (aka 'void (*)(struct iflib_ctx *, int)') converts to incompatible function type [-Wcast-function-type-mismatch] 636 | ((ifdi_led_func_t *) _m)(_ctx, _onoff); | ^~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:648:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_register_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 648 | ((ifdi_vlan_register_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:660:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_vlan_unregister_t *' (aka 'void (*)(struct iflib_ctx *, unsigned short)') converts to incompatible function type [-Wcast-function-type-mismatch] 660 | ((ifdi_vlan_unregister_t *) _m)(_ctx, _vtag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:674:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_sysctl_int_delay_t *' (aka 'int (*)(struct iflib_ctx *, struct if_int_delay_info *)') converts to incompatible function type [-Wcast-function-type-mismatch] 674 | rc = ((ifdi_sysctl_int_delay_t *) _m)(_sctx, _iidi); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:687:3: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_debug_t *' (aka 'void (*)(struct iflib_ctx *)') converts to incompatible function type [-Wcast-function-type-mismatch] 687 | ((ifdi_debug_t *) _m)(_ctx); | ^~~~~~~~~~~~~~~~~~~ ./ifdi_if.h:702:8: warning: cast from 'kobjop_t' (aka 'int (*)(void)') to 'ifdi_needs_restart_t *' (aka '_Bool (*)(struct iflib_ctx *, enum iflib_restart_event)') converts to incompatible function type [-Wcast-function-type-mismatch] 702 | rc = ((ifdi_needs_restart_t *) _m)(_ctx, _event); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 51 warnings generated. --- if_ice.ko.full --- ld -m elf_x86_64_fbsd -warn-common --build-id=sha1 -T /usr/src/sys/conf/ldscript.kmod.amd64 -r -o if_ice.ko.full freebsd_compat_common.o ice_common.o ice_controlq.o ice_dcb.o ice_ddp.o ice_flex_pipe.o ice_flow.o ice_fw_logging.o ice_fwlog.o ice_iflib_recovery_txrx.o ice_iflib_txrx.o ice_lib.o ice_nvm.o ice_osdep.o ice_rdma.o ice_resmgr.o ice_sched.o ice_strings.o ice_switch.o ice_vlan_mode.o if_ice_iflib.o irdma_di_if.o irdma_if.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_ice.ko.full export_syms | xargs -J% objcopy % if_ice.ko.full --- if_ice.ko.debug --- objcopy --only-keep-debug if_ice.ko.full if_ice.ko.debug --- if_ice.ko --- objcopy --strip-debug --add-gnu-debuglink=if_ice.ko.debug if_ice.ko.full if_ice.ko --- all --- /usr/bin/make -j 64 -C ddp all --- machine --- --- x86 --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/ddp --- machine --- machine -> /usr/src/sys/amd64/include --- x86 --- x86 -> /usr/src/sys/x86/include --- opt_global.h --- --- ice_ddp.c --- --- opt_global.h --- touch opt_global.h --- ice_ddp.c --- awk -f /usr/src/sys/tools/fw_stub.awk ice-1.3.35.0.pkg:ice_ddp:0x01032300 -mice_ddp -cice_ddp.c --- ice_ddp.o --- --- ice-1.3.35.0.pkg.fwo --- --- ice_ddp.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/ddp/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice_ddp.o -MTice_ddp.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -c ice_ddp.c -o ice_ddp.o --- ice-1.3.35.0.pkg.fwo --- ice-1.3.35.0.pkg ice-1.3.35.0.pkg cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/ddp/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.ice-1.3.35.0.pkg.fwo -MTice-1.3.35.0.pkg.fwo -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-error=array-parameter -Wno-error=deprecated-non-prototype -Wno-error=strict-prototypes -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-variable -Wno-format-zero-length -mno-aes -mno-avx -std=iso9899:1999 -DFIRMW_FILE="ice-1.3.35.0.pkg" -DFIRMW_SYMBOL="ice_1_3_35_0_pkg" /usr/src/sys/kern/firmw.S -o ice-1.3.35.0.pkg.fwo --- ice_ddp.ko --- ld -m elf_x86_64_fbsd -warn-common --build-id=sha1 -T /usr/src/sys/conf/ldscript.kmod.amd64 -r -o ice_ddp.ko ice-1.3.35.0.pkg.fwo ice_ddp.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk ice_ddp.ko export_syms | xargs -J% objcopy % ice_ddp.ko objcopy --strip-debug ice_ddp.ko =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for intel-ice-kmod-1.38.16.1305000_2 ===> Generating temporary packing list install -m 555 /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16//if_ice.ko /wrkdirs/usr/ports/net/intel-ice-kmod/work/stage/boot/modules/if_ice_updated.ko install -m 444 /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16//ice.4 /wrkdirs/usr/ports/net/intel-ice-kmod/work/stage/usr/local/share/man/man4/ /bin/ln /wrkdirs/usr/ports/net/intel-ice-kmod/work/stage/usr/local/share/man/man4/ice.4 /wrkdirs/usr/ports/net/intel-ice-kmod/work/stage/usr/local/share/man/man4/if_ice.4 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-10T12:07:48+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=236ef6a0f2e6' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for intel-ice-kmod-1.38.16.1305000_2 ===> Building intel-ice-kmod-1.38.16.1305000_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for intel-ice-kmod-1.38.16.1305000_2 build of net/intel-ice-kmod | intel-ice-kmod-1.38.16.1305000_2 ended at Wed Dec 10 07:08:35 EST 2025 build time: 00:00:50