=>> Building net/intel-iavf-kmod build started at Thu Dec 11 20:17:52 EST 2025 port directory: /usr/ports/net/intel-iavf-kmod package name: intel-iavf-kmod-3.0.32.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 419 Aug 27 2024 /usr/ports/net/intel-iavf-kmod/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 3ac7b85d80f8 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-iavf-kmod-3.0.32.1305000_2: ====> 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-iavf-kmod/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-iavf-kmod/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-iavf-kmod/work/.cache HOME=/wrkdirs/usr/ports/net/intel-iavf-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-iavf-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-iavf-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="" KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/net/intel-iavf-kmod/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-iavf-kmod/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-iavf-kmod/work/.cache HOME=/wrkdirs/usr/ports/net/intel-iavf-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-iavf-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-iavf-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/iavf" EXAMPLESDIR="share/examples/iavf" DATADIR="share/iavf" WWWDIR="www/iavf" ETCDIR="etc/iavf" --End PLIST_SUB-- --SUB_LIST-- PORTNAME=iavf PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/iavf DOCSDIR=/usr/local/share/doc/iavf EXAMPLESDIR=/usr/local/share/examples/iavf WWWDIR=/usr/local/www/iavf ETCDIR=/usr/local/etc/iavf --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-iavf-kmod-3.0.32.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-iavf-kmod-3.0.32.1305000_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of intel-iavf-kmod-3.0.32.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-iavf-kmod-3.0.32.1305000_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by intel-iavf-kmod-3.0.32.1305000_2 for building => SHA256 Checksum OK for iavf-3.0.32.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-iavf-kmod-3.0.32.1305000_2 for building ===> Extracting for intel-iavf-kmod-3.0.32.1305000_2 => SHA256 Checksum OK for iavf-3.0.32.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-iavf-kmod-3.0.32.1305000_2 ===> Applying FreeBSD patches for intel-iavf-kmod-3.0.32.1305000_2 from /usr/ports/net/intel-iavf-kmod/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> intel-iavf-kmod-3.0.32.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-iavf-kmod-3.0.32.1305000_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of intel-iavf-kmod-3.0.32.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-iavf-kmod-3.0.32.1305000_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for intel-iavf-kmod-3.0.32.1305000_2 make: "/wrkdirs/usr/ports/net/intel-iavf-kmod/work/iavf-3.0.32/Makefile" line 28: Unable to locate the running kernel object directory. Kernel options may not be accurate. --- machine --- --- x86 --- --- objwarn --- Warning: Object directory not changed from original /wrkdirs/usr/ports/net/intel-iavf-kmod/work/iavf-3.0.32 --- x86 --- x86 -> /usr/src/sys/x86/include --- machine --- machine -> /usr/src/sys/amd64/include --- opt_inet.h --- --- opt_inet6.h --- --- opt_rss.h --- --- opt_global.h --- --- device_if.h --- --- bus_if.h --- --- pci_if.h --- --- ifdi_if.h --- --- opt_rss.h --- :> opt_rss.h --- opt_global.h --- touch opt_global.h --- device_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h --- bus_if.h --- awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_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 --- --- iavf_adminq.o --- --- iavf_common.o --- --- iavf_lib.o --- --- iavf_osdep.o --- --- iavf_txrx_iflib.o --- --- iavf_vc_common.o --- --- iavf_vc_iflib.o --- --- if_iavf_iflib.o --- --- freebsd_compat_common.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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 -W--- iavf_adminq.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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.iavf_adminq.o -MTiavf_adminq.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--- iavf_common.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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.iavf_common.o -MTiavf_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--- iavf_lib.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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.iavf_lib.o -MTiavf_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-equal--- iavf_osdep.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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.iavf_osdep.o -MTiavf_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-e--- iavf_txrx_iflib.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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.iavf_txrx_iflib.o -MTiavf_txrx_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=par--- freebsd_compat_common.o --- no-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 --- iavf_adminq.o --- -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 iavf_adminq.c -o iavf_adminq.o --- iavf_common.o --- -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 iavf_common.c -o iavf_common.o --- iavf_lib.o --- ity -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 iavf_lib.c -o iavf_lib.o --- iavf_osdep.o --- quality -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 iavf_osdep.c -o iavf_osdep.o --- iavf_txrx_iflib.o --- entheses-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 iavf_txrx_iflib.c -o iavf_txrx_iflib.o --- iavf_vc_common.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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.iavf_vc_common.o -MTiavf_vc_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 iavf_vc_common.c -o iavf_vc_common.o --- iavf_vc_iflib.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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.iavf_vc_iflib.o -MTiavf_vc_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-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 iavf_vc_iflib.c -o iavf_vc_iflib.o --- if_iavf_iflib.o --- cc -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DIFLIB -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-iavf-kmod/work/iavf-3.0.32/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_iavf_iflib.o -MTif_iavf_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-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 if_iavf_iflib.c -o if_iavf_iflib.o --- iavf_vc_iflib.o --- In file included from iavf_vc_iflib.c:43: In file included from ./iavf_iflib.h:107: In file included from ./freebsd_compat_iflib.h:51: ./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. --- iavf_osdep.o --- In file included from iavf_osdep.c:44: In file included from ./iavf.h:46: In file included from ./iavf_iflib.h:107: In file included from ./freebsd_compat_iflib.h:51: ./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. --- iavf_txrx_iflib.o --- In file included from iavf_txrx_iflib.c:41: In file included from ./iavf_iflib.h:107: In file included from ./freebsd_compat_iflib.h:51: ./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. --- iavf_vc_common.o --- In file included from iavf_vc_common.c:42: In file included from ./iavf_vc_common.h:44: In file included from ./iavf.h:46: In file included from ./iavf_iflib.h:107: In file included from ./freebsd_compat_iflib.h:51: ./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. --- iavf_lib.o --- In file included from iavf_lib.c:42: In file included from ./iavf.h:46: In file included from ./iavf_iflib.h:107: In file included from ./freebsd_compat_iflib.h:51: ./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_iavf_iflib.o --- In file included from if_iavf_iflib.c:43: In file included from ./iavf_iflib.h:107: In file included from ./freebsd_compat_iflib.h:51: ./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_iavf_iflib.c:121: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] 121 | DEVMETHOD(device_register, iavf_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_iavf_iflib.c:122: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] 122 | DEVMETHOD(device_probe, iflib_device_probe), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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_iavf_iflib.c:123: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] 123 | 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_iavf_iflib.c:124: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] 124 | 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_iavf_iflib.c:125: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] 125 | 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_iavf_iflib.c:157: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] 157 | DEVMETHOD(ifdi_attach_pre, iavf_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_iavf_iflib.c:158: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] 158 | DEVMETHOD(ifdi_attach_post, iavf_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_iavf_iflib.c:159: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] 159 | DEVMETHOD(ifdi_detach, iavf_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_iavf_iflib.c:160: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] 160 | DEVMETHOD(ifdi_shutdown, iavf_if_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_iavf_iflib.c:161: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] 161 | DEVMETHOD(ifdi_suspend, iavf_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_iavf_iflib.c:162: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] 162 | DEVMETHOD(ifdi_resume, iavf_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_iavf_iflib.c:163: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] 163 | DEVMETHOD(ifdi_init, iavf_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_iavf_iflib.c:164: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] 164 | DEVMETHOD(ifdi_stop, iavf_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_iavf_iflib.c:165: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] 165 | DEVMETHOD(ifdi_msix_intr_assign, iavf_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_iavf_iflib.c:166: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] 166 | DEVMETHOD(ifdi_intr_enable, iavf_if_enable_intr), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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_iavf_iflib.c:167: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] 167 | DEVMETHOD(ifdi_intr_disable, iavf_if_disable_intr), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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_iavf_iflib.c:168: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] 168 | DEVMETHOD(ifdi_rx_queue_intr_enable, iavf_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_iavf_iflib.c:169: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] 169 | DEVMETHOD(ifdi_tx_queue_intr_enable, iavf_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_iavf_iflib.c:170: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] 170 | DEVMETHOD(ifdi_tx_queues_alloc, iavf_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_iavf_iflib.c:171: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] 171 | DEVMETHOD(ifdi_rx_queues_alloc, iavf_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_iavf_iflib.c:172: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] 172 | DEVMETHOD(ifdi_queues_free, iavf_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_iavf_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, iavf_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_iavf_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, iavf_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_iavf_iflib.c:175: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] 175 | DEVMETHOD(ifdi_mtu_set, iavf_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_iavf_iflib.c:176: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] 176 | DEVMETHOD(ifdi_media_status, iavf_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_iavf_iflib.c:177: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] 177 | DEVMETHOD(ifdi_media_change, iavf_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_iavf_iflib.c:178: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] 178 | DEVMETHOD(ifdi_promisc_set, iavf_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_iavf_iflib.c:179: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] 179 | DEVMETHOD(ifdi_timer, iavf_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_iavf_iflib.c:180: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] 180 | DEVMETHOD(ifdi_vlan_register, iavf_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_iavf_iflib.c:181: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] 181 | DEVMETHOD(ifdi_vlan_unregister, iavf_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_iavf_iflib.c:182: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] 182 | DEVMETHOD(ifdi_get_counter, iavf_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) } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 82 warnings generated. --- if_iavf.ko.full --- ld -m elf_x86_64_fbsd -warn-common --build-id=sha1 -T /usr/src/sys/conf/ldscript.kmod.amd64 -r -o if_iavf.ko.full freebsd_compat_common.o iavf_adminq.o iavf_common.o iavf_lib.o iavf_osdep.o iavf_txrx_iflib.o iavf_vc_common.o iavf_vc_iflib.o if_iavf_iflib.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk if_iavf.ko.full export_syms | xargs -J% objcopy % if_iavf.ko.full --- if_iavf.ko.debug --- objcopy --only-keep-debug if_iavf.ko.full if_iavf.ko.debug --- if_iavf.ko --- objcopy --strip-debug --add-gnu-debuglink=if_iavf.ko.debug if_iavf.ko.full if_iavf.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-iavf-kmod-3.0.32.1305000_2 ===> Generating temporary packing list install -m 555 /wrkdirs/usr/ports/net/intel-iavf-kmod/work/iavf-3.0.32//if_iavf.ko /wrkdirs/usr/ports/net/intel-iavf-kmod/work/stage/boot/modules/if_iavf_updated.ko install -m 444 /wrkdirs/usr/ports/net/intel-iavf-kmod/work/iavf-3.0.32//iavf.4 /wrkdirs/usr/ports/net/intel-iavf-kmod/work/stage/usr/local/share/man/man4/ /bin/ln /wrkdirs/usr/ports/net/intel-iavf-kmod/work/stage/usr/local/share/man/man4/iavf.4 /wrkdirs/usr/ports/net/intel-iavf-kmod/work/stage/usr/local/share/man/man4/if_iavf.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-12T01:17:52+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=3ac7b85d80f8' '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-iavf-kmod-3.0.32.1305000_2 ===> Building intel-iavf-kmod-3.0.32.1305000_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for intel-iavf-kmod-3.0.32.1305000_2 build of net/intel-iavf-kmod | intel-iavf-kmod-3.0.32.1305000_2 ended at Thu Dec 11 20:17:57 EST 2025 build time: 00:00:06