Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/63982 _Compilation issues_ Submitter: Joyce Kong Date: 2019-12-18 06:00:04 Reply_mail: 1576648808-24765-3-git-send-email-joyce.kong@arm.com DPDK git baseline: Repo:dpdk-next-net, CommitID: 2c723f69b97766fb77923171ce155a5b251fd278 Makefile build Summary: 23 Builds Done, 23 Successful, 0 Failures Meson build Summary: 8 Builds Done, 3 Successful, 5 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +----------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +----------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL80-64 | pass | | | | | | | | UB1804-64 | pass | pass | pass | | | FAIL | pass | | UB1604-32 | pass | | | | | pass | | | CENTOS77-64 | pass | pass | pass | pass | pass | FAIL | | | UB1604-64 | pass | pass | | | | | | | WIN10-64 | | | | | | pass | | | UB1910-64 | pass | | | | | | | | FC31-64 | pass | pass | | | | FAIL | | | CENTOS80-64 | pass | | | | | | | | FreeBSD1201-64 | pass | pass | | pass | pass | FAIL | | | RHEL77-64 | pass | | | | | | | | SUSE15-64 | pass | pass | | | | FAIL | | +----------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: CENTOS77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: UB1910-64 Kernel Version: 5.3.0-18-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008 Clang Version: 9.0.0-2 (tags/RELEASE_900/final) x86_64-native-linuxapp-gcc OS: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 7.0.1 (tags/RELEASE_701/final) x86_64-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-170-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FC31-64 Kernel Version: 5.3.15-300.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 6.0.1 (tags/RELEASE_601/final) x86_64-native-linuxapp-gcc OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang OS: RHEL77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang ** Meson build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: CENTOS77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FC31-64 Kernel Version: 5.3.14-300.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 9.2.0 Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default *Meson Build Failed #1: OS: SUSE15-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -c ../drivers/net/bnx2x/ecore_sp.c In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_exe_queue_step’: ../drivers/net/bnx2x/ecore_sp.c:178:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_check_pending’: ../drivers/net/bnx2x/ecore_sp.c:259:37: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ! !ECORE_TEST_BIT(o->state, o->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_clear_pending’: ../drivers/net/bnx2x/ecore_sp.c:265:28: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(o->state, o->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_set_pending’: ../drivers/net/bnx2x/ecore_sp.c:272:26: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(o->state, o->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_state_wait’: ../drivers/net/bnx2x/ecore_sp.c:298:30: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!ECORE_TEST_BIT(state, pstate)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_one_mac_e2’: ../drivers/net/bnx2x/ecore_sp.c:807:34: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] unsigned long *vlan_mac_flags = &elem->cmd_data.vlan_mac.vlan_mac_flags; ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:828:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ISCSI_ETH_MAC, vlan_mac_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:831:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] else if (ECORE_TEST_BIT(ECORE_ETH_MAC, vlan_mac_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_complete_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1381:34: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_execute_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1527:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] int restore = ECORE_TEST_BIT(RAMROD_RESTORE, ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1528:53: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] int drv_only = ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_config_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1681:32: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] unsigned long *ramrod_flags = &p->ramrod_flags; ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1682:41: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] int cont = ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1700:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1707:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (cont || ECORE_TEST_BIT(RAMROD_EXEC, ramrod_flags) || ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1708:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(RAMROD_COMP_WAIT, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c:1710:10: error: passing argument 3 of ‘__ecore_vlan_mac_execute_step’ from incompatible pointer type [-Werror=incompatible-pointer-types] &p->ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.c:1327:12: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ static int __ecore_vlan_mac_execute_step(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c:1735:11: error: passing argument 3 of ‘__ecore_vlan_mac_execute_step’ from incompatible pointer type [-Werror=incompatible-pointer-types] &p->ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.c:1327:12: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ static int __ecore_vlan_mac_execute_step(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_rx_mode_e1x’: ../drivers/net/bnx2x/ecore_sp.c:1964:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1968:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1972:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, &p->rx_accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1977:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, &p->rx_accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1982:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1985:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2023:28: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(p->state, p->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_rx_mode_set_cmd_state_e2’: ../drivers/net/bnx2x/ecore_sp.c:2046:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2049:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2052:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2057:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2061:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2064:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2068:44: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ANY_VLAN, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_rx_mode_e2’: ../drivers/net/bnx2x/ecore_sp.c:2095:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2108:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2126:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_RX_MODE_FCOE_ETH, &p->rx_mode_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2128:33: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2141:33: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_config_rx_mode’: ../drivers/net/bnx2x/ecore_sp.c:2207:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_COMP_WAIT, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_clear_sched’: ../drivers/net/bnx2x/ecore_sp.c:3109:34: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(o->sched_state, o->raw.pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_set_sched’: ../drivers/net/bnx2x/ecore_sp.c:3116:32: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(o->sched_state, o->raw.pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_check_sched’: ../drivers/net/bnx2x/ecore_sp.c:3122:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ! !ECORE_TEST_BIT(o->sched_state, o->raw.pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_state_change’: ../drivers/net/bnx2x/ecore_sp.c:3653:33: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(pending_bit, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3667:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ECORE_RET_PENDING(pending_bit, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ ../drivers/net/bnx2x/ecore_sp.c:3667:9: note: in expansion of macro ‘ECORE_RET_PENDING’ return ECORE_RET_PENDING(pending_bit, pending); ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_set_pending’: ../drivers/net/bnx2x/ecore_sp.c:3683:21: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(bit, &obj->pending); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_comp_cmd’: ../drivers/net/bnx2x/ecore_sp.c:3709:37: error: passing argument 2 of ‘rte_test_and_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { ^ ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro ‘ECORE_TEST_AND_CLEAR_BIT’ #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3741:23: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(cmd, &o->pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_setup_data_e2’: ../drivers/net/bnx2x/ecore_sp.c:3757:8: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->flags) * ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_general_data’: ../drivers/net/bnx2x/ecore_sp.c:3769:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_FLG_STATS, flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3773:46: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_ZERO_STATS, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3778:59: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] gen_data->is_fcoe_flg = ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3779:62: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] gen_data->activate_flg = ECORE_TEST_BIT(ECORE_Q_FLG_ACTIVE, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3787:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags) ? ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_tx_data’: ../drivers/net/bnx2x/ecore_sp.c:3800:41: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_TX_SEC, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3802:67: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] tx_data->default_vlan_flg = ECORE_TEST_BIT(ECORE_Q_FLG_DEF_VLAN, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3804:44: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_TX_SWITCH, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3806:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_ANTI_SPOOF, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3808:52: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_FORCE_DEFAULT_PRI, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3810:54: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_REFUSE_OUTBAND_VLAN, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3812:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_PCSUM_ON_PKT, flags) ? CSUM_ON_PKT : ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_rx_data’: ../drivers/net/bnx2x/ecore_sp.c:3845:52: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] rx_data->tpa_en = ECORE_TEST_BIT(ECORE_Q_FLG_TPA, flags) * ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3847:57: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] rx_data->tpa_en |= ECORE_TEST_BIT(ECORE_Q_FLG_TPA_GRO, flags) * ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3852:38: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_OOO, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3854:63: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] rx_data->enable_dynamic_hc = ECORE_TEST_BIT(ECORE_Q_FLG_DHC, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3868:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_VLAN, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3870:37: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_OV, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3880:8: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3882:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_FLG_MCAST, flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3891:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_SILENT_VLAN_REM, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_init’: ../drivers/net/bnx2x/ecore_sp.c:3956:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_TX, &o->type) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3968:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_RX, &o->type) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_send_setup_tx_only’: ../drivers/net/bnx2x/ecore_sp.c:4065:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &o->type)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_update_data’: ../drivers/net/bnx2x/ecore_sp.c:4116:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_IN_VLAN_REM, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4119:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4123:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_OUT_VLAN_REM, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4126:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4132:48: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_ANTI_SPOOF, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4135:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4139:46: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4141:51: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE_CHNG, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4145:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_DEF_VLAN_EN, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4148:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4153:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4156:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4163:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_TX_SWITCHING, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4166:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_chk_transition’: ../drivers/net/bnx2x/ecore_sp.c:4438:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->params.setup.flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4466:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4468:10: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4493:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4495:10: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4528:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4530:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_chk_fwd_transition’: ../drivers/net/bnx2x/ecore_sp.c:4600:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->params.tx_only.flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_init_queue_obj’: ../drivers/net/bnx2x/ecore_sp.c:4654:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &type)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_state_change_comp’: ../drivers/net/bnx2x/ecore_sp.c:4704:37: error: passing argument 2 of ‘rte_test_and_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { ^ ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro ‘ECORE_TEST_AND_CLEAR_BIT’ #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4723:23: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(cmd, &o->pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_chk_transition’: ../drivers/net/bnx2x/ecore_sp.c:4807:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4811:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4818:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4827:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_send_switch_update’: ../drivers/net/bnx2x/ecore_sp.c:5118:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &switch_update_params->changes)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5122:12: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &switch_update_params->changes); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_state_change’: ../drivers/net/bnx2x/ecore_sp.c:5340:21: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(cmd, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5354:25: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(cmd, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5368:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ECORE_RET_PENDING(cmd, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ ../drivers/net/bnx2x/ecore_sp.c:5368:9: note: in expansion of macro ‘ECORE_RET_PENDING’ return ECORE_RET_PENDING(cmd, pending); ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ cc1: all warnings being treated as errors [753/2208] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_irq.c.o'. [754/2208] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ring.c.o'. [755/2208] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_flow.c.o'. [756/2208] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o'. [757/2208] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -c ../drivers/net/bnx2x/bnx2x.c ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_del_all_macs’: ../drivers/net/bnx2x/bnx2x.c:1411:40: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1411:40: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1411:57: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1411:57: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_set_q_rx_mode’: ../drivers/net/bnx2x/bnx2x.c:1514:22: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] ramrod_param.pstate = &sc->sp_state; ^ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_squeeze_objects’: ../drivers/net/bnx2x/bnx2x.c:1943:54: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, &sc->sp_objs->mac_obj, &vlan_mac_flags, ^ ../drivers/net/bnx2x/bnx2x.c:1943:54: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1944:6: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1944:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1952:40: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1952:40: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1952:57: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1952:57: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_handle_classification_eqe’: ../drivers/net/bnx2x/bnx2x.c:4284:54: error: passing argument 4 of ‘vlan_mac_obj->complete’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = vlan_mac_obj->complete(sc, vlan_mac_obj, elem, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:4284:54: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_eth_fp’: ../drivers/net/bnx2x/bnx2x.c:4986:33: error: passing argument 9 of ‘ecore_init_mac_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_FILTER_MAC_PENDING, &sc->sp_state, ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1834:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ void ecore_init_mac_obj(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_objs’: ../drivers/net/bnx2x/bnx2x.c:5745:9: error: passing argument 10 of ‘ecore_init_mcast_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] &sc->sp_state, o_type); ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1901:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ void ecore_init_mcast_obj(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:5765:38: error: passing argument 10 of ‘ecore_init_rss_config_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_FILTER_RSS_CONF_PENDING, &sc->sp_state, ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1943:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ void ecore_init_rss_config_obj(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41:0, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_link_report_locked’: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint32_t {aka unsigned int}’ [-Werror=format=] "[%s:%d(%s)] " fmt, __func__, __LINE__, \ ^ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’ PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro ‘ELINK_DEBUG_P2’ ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:59: note: format string is defined here ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ~~^ %x In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41:0, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint32_t {aka unsigned int}’ [-Werror=format=] "[%s:%d(%s)] " fmt, __func__, __LINE__, \ ^ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’ PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro ‘ELINK_DEBUG_P2’ ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:85: note: format string is defined here ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ~~^ %x cc1: all warnings being treated as errors [758/2208] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_hwrm.c.o'. [759/2208] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #2: OS: FC31-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -c ../drivers/net/bnx2x/ecore_sp.c In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_exe_queue_step’: ../drivers/net/bnx2x/ecore_sp.c:178:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 178 | if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_check_pending’: ../drivers/net/bnx2x/ecore_sp.c:259:38: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 259 | return ! !ECORE_TEST_BIT(o->state, o->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_clear_pending’: ../drivers/net/bnx2x/ecore_sp.c:265:29: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 265 | ECORE_CLEAR_BIT(o->state, o->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_set_pending’: ../drivers/net/bnx2x/ecore_sp.c:272:27: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 272 | ECORE_SET_BIT(o->state, o->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_state_wait’: ../drivers/net/bnx2x/ecore_sp.c:298:30: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 298 | if (!ECORE_TEST_BIT(state, pstate)) { | ^~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_one_mac_e2’: ../drivers/net/bnx2x/ecore_sp.c:807:34: error: initialization of ‘long unsigned int *’ from incompatible pointer type ‘uint32_t *’ {aka ‘unsigned int *’} [-Werror=incompatible-pointer-types] 807 | unsigned long *vlan_mac_flags = &elem->cmd_data.vlan_mac.vlan_mac_flags; | ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:828:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 828 | if (ECORE_TEST_BIT(ECORE_ISCSI_ETH_MAC, vlan_mac_flags)) | ^~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:831:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 831 | else if (ECORE_TEST_BIT(ECORE_ETH_MAC, vlan_mac_flags)) | ^~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_complete_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1381:34: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1381 | if (ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_execute_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1527:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1527 | int restore = ECORE_TEST_BIT(RAMROD_RESTORE, ramrod_flags); | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1528:53: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1528 | int drv_only = ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags); | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_config_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1681:32: error: initialization of ‘long unsigned int *’ from incompatible pointer type ‘uint32_t *’ {aka ‘unsigned int *’} [-Werror=incompatible-pointer-types] 1681 | unsigned long *ramrod_flags = &p->ramrod_flags; | ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1682:41: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1682 | int cont = ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags); | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1700:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1700 | if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1707:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1707 | if (cont || ECORE_TEST_BIT(RAMROD_EXEC, ramrod_flags) || | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1708:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1708 | ECORE_TEST_BIT(RAMROD_COMP_WAIT, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ ../drivers/net/bnx2x/ecore_sp.c:1710:10: error: passing argument 3 of ‘__ecore_vlan_mac_execute_step’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1710 | &p->ramrod_flags); | ^~~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/ecore_sp.c:1329:22: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} 1329 | unsigned long *ramrod_flags) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c:1735:11: error: passing argument 3 of ‘__ecore_vlan_mac_execute_step’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1735 | &p->ramrod_flags); | ^~~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/ecore_sp.c:1329:22: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} 1329 | unsigned long *ramrod_flags) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_rx_mode_e1x’: ../drivers/net/bnx2x/ecore_sp.c:1964:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1964 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1968:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1968 | if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1972:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1972 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, &p->rx_accept_flags)) { | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1977:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1977 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, &p->rx_accept_flags)) { | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1982:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1982 | if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1985:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1985 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2023:29: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2023 | ECORE_CLEAR_BIT(p->state, p->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_rx_mode_set_cmd_state_e2’: ../drivers/net/bnx2x/ecore_sp.c:2046:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2046 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2049:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2049 | if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2052:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2052 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, accept_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2057:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2057 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, accept_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2061:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2061 | if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2064:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2064 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, accept_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2068:44: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2068 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ANY_VLAN, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_rx_mode_e2’: ../drivers/net/bnx2x/ecore_sp.c:2095:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2095 | if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2108:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2108 | if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2126:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2126 | if (ECORE_TEST_BIT(ECORE_RX_MODE_FCOE_ETH, &p->rx_mode_flags)) { | ^~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2128:33: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2128 | if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2141:33: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2141 | if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_config_rx_mode’: ../drivers/net/bnx2x/ecore_sp.c:2207:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2207 | if (ECORE_TEST_BIT(RAMROD_COMP_WAIT, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_clear_sched’: ../drivers/net/bnx2x/ecore_sp.c:3109:40: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3109 | ECORE_CLEAR_BIT(o->sched_state, o->raw.pstate); | ~~~~~~^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_set_sched’: ../drivers/net/bnx2x/ecore_sp.c:3116:38: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3116 | ECORE_SET_BIT(o->sched_state, o->raw.pstate); | ~~~~~~^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_check_sched’: ../drivers/net/bnx2x/ecore_sp.c:3122:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3122 | return ! !ECORE_TEST_BIT(o->sched_state, o->raw.pstate); | ~~~~~~^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_state_change’: ../drivers/net/bnx2x/ecore_sp.c:3653:33: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3653 | ECORE_CLEAR_BIT(pending_bit, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3667:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3667 | return ECORE_RET_PENDING(pending_bit, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ ../drivers/net/bnx2x/ecore_sp.c:3667:9: note: in expansion of macro ‘ECORE_RET_PENDING’ 3667 | return ECORE_RET_PENDING(pending_bit, pending); | ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_set_pending’: ../drivers/net/bnx2x/ecore_sp.c:3683:21: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3683 | ECORE_SET_BIT(bit, &obj->pending); | ^~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_comp_cmd’: ../drivers/net/bnx2x/ecore_sp.c:3709:37: error: passing argument 2 of ‘rte_test_and_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3709 | if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro ‘ECORE_TEST_AND_CLEAR_BIT’ 80 | #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:53: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 239 | rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3741:23: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3741 | ECORE_CLEAR_BIT(cmd, &o->pending); | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_setup_data_e2’: ../drivers/net/bnx2x/ecore_sp.c:3757:8: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3757 | ¶ms->flags) * | ^~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_general_data’: ../drivers/net/bnx2x/ecore_sp.c:3769:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3769 | if (ECORE_TEST_BIT(ECORE_Q_FLG_STATS, flags)) { | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3773:46: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3773 | ECORE_TEST_BIT(ECORE_Q_FLG_ZERO_STATS, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3778:59: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3778 | gen_data->is_fcoe_flg = ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3779:62: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3779 | gen_data->activate_flg = ECORE_TEST_BIT(ECORE_Q_FLG_ACTIVE, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3787:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3787 | ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags) ? | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_tx_data’: ../drivers/net/bnx2x/ecore_sp.c:3800:41: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3800 | ECORE_TEST_BIT(ECORE_Q_FLG_TX_SEC, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3802:67: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3802 | tx_data->default_vlan_flg = ECORE_TEST_BIT(ECORE_Q_FLG_DEF_VLAN, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3804:44: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3804 | ECORE_TEST_BIT(ECORE_Q_FLG_TX_SWITCH, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3806:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3806 | ECORE_TEST_BIT(ECORE_Q_FLG_ANTI_SPOOF, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3808:52: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3808 | ECORE_TEST_BIT(ECORE_Q_FLG_FORCE_DEFAULT_PRI, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3810:54: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3810 | ECORE_TEST_BIT(ECORE_Q_FLG_REFUSE_OUTBAND_VLAN, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3812:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3812 | ECORE_TEST_BIT(ECORE_Q_FLG_PCSUM_ON_PKT, flags) ? CSUM_ON_PKT : | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_rx_data’: ../drivers/net/bnx2x/ecore_sp.c:3845:52: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3845 | rx_data->tpa_en = ECORE_TEST_BIT(ECORE_Q_FLG_TPA, flags) * | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3847:57: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3847 | rx_data->tpa_en |= ECORE_TEST_BIT(ECORE_Q_FLG_TPA_GRO, flags) * | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3852:38: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3852 | ECORE_TEST_BIT(ECORE_Q_FLG_OOO, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3854:63: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3854 | rx_data->enable_dynamic_hc = ECORE_TEST_BIT(ECORE_Q_FLG_DHC, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3868:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3868 | ECORE_TEST_BIT(ECORE_Q_FLG_VLAN, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3870:37: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3870 | ECORE_TEST_BIT(ECORE_Q_FLG_OV, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3880:8: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3880 | flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3882:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3882 | if (ECORE_TEST_BIT(ECORE_Q_FLG_MCAST, flags)) { | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3891:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3891 | ECORE_TEST_BIT(ECORE_Q_FLG_SILENT_VLAN_REM, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_init’: ../drivers/net/bnx2x/ecore_sp.c:3956:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3956 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_TX, &o->type) && | ^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3968:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 3968 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_RX, &o->type) && | ^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_send_setup_tx_only’: ../drivers/net/bnx2x/ecore_sp.c:4065:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4065 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &o->type)) | ^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_update_data’: ../drivers/net/bnx2x/ecore_sp.c:4116:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4116 | ECORE_TEST_BIT(ECORE_Q_UPDATE_IN_VLAN_REM, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4119:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4119 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4123:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4123 | ECORE_TEST_BIT(ECORE_Q_UPDATE_OUT_VLAN_REM, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4126:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4126 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4132:48: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4132 | ECORE_TEST_BIT(ECORE_Q_UPDATE_ANTI_SPOOF, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4135:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4135 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4139:46: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4139 | ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4141:51: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4141 | ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE_CHNG, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4145:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4145 | ECORE_TEST_BIT(ECORE_Q_UPDATE_DEF_VLAN_EN, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4148:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4148 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4153:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4153 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4156:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4156 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4163:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4163 | ECORE_TEST_BIT(ECORE_Q_UPDATE_TX_SWITCHING, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4166:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4166 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_chk_transition’: ../drivers/net/bnx2x/ecore_sp.c:4438:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4438 | ¶ms->params.setup.flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4466:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4466 | &update_params->update_flags) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4468:10: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4468 | &update_params->update_flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4493:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4493 | &update_params->update_flags) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4495:10: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4495 | &update_params->update_flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4528:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4528 | &update_params->update_flags) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4530:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4530 | &update_params->update_flags)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_chk_fwd_transition’: ../drivers/net/bnx2x/ecore_sp.c:4600:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4600 | ¶ms->params.tx_only.flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_init_queue_obj’: ../drivers/net/bnx2x/ecore_sp.c:4654:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4654 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &type)) | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_state_change_comp’: ../drivers/net/bnx2x/ecore_sp.c:4704:37: error: passing argument 2 of ‘rte_test_and_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4704 | if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro ‘ECORE_TEST_AND_CLEAR_BIT’ 80 | #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:53: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 239 | rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4723:23: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4723 | ECORE_CLEAR_BIT(cmd, &o->pending); | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_chk_transition’: ../drivers/net/bnx2x/ecore_sp.c:4807:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4807 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4811:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4811 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4818:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4818 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4827:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4827 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_send_switch_update’: ../drivers/net/bnx2x/ecore_sp.c:5118:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 5118 | &switch_update_params->changes)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5122:12: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 5122 | &switch_update_params->changes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_state_change’: ../drivers/net/bnx2x/ecore_sp.c:5340:21: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 5340 | ECORE_SET_BIT(cmd, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5354:25: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 5354 | ECORE_CLEAR_BIT(cmd, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5368:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] 5368 | return ECORE_RET_PENDING(cmd, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ ../drivers/net/bnx2x/ecore_sp.c:5368:9: note: in expansion of macro ‘ECORE_RET_PENDING’ 5368 | return ECORE_RET_PENDING(cmd, pending); | ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected ‘uint32_t *’ {aka ‘unsigned int *’} but argument is of type ‘long unsigned int *’ 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ cc1: all warnings being treated as errors [751/2221] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_stats.c.o'. [752/2221] Generating pipeline.exp_chk with a meson_exe.py custom command. [753/2221] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_flow.c.o'. [754/2221] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o'. [755/2221] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -c ../drivers/net/bnx2x/bnx2x.c ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_del_all_macs’: ../drivers/net/bnx2x/bnx2x.c:1411:40: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1411 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1411:40: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} ../drivers/net/bnx2x/bnx2x.c:1411:57: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1411 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1411:57: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_set_q_rx_mode’: ../drivers/net/bnx2x/bnx2x.c:1514:22: error: assignment to ‘long unsigned int *’ from incompatible pointer type ‘uint32_t *’ {aka ‘unsigned int *’} [-Werror=incompatible-pointer-types] 1514 | ramrod_param.pstate = &sc->sp_state; | ^ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_squeeze_objects’: ../drivers/net/bnx2x/bnx2x.c:1943:54: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1943 | rc = mac_obj->delete_all(sc, &sc->sp_objs->mac_obj, &vlan_mac_flags, | ^~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1943:54: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} ../drivers/net/bnx2x/bnx2x.c:1944:6: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1944 | &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1944:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} ../drivers/net/bnx2x/bnx2x.c:1952:40: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1952 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1952:40: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} ../drivers/net/bnx2x/bnx2x.c:1952:57: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] 1952 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1952:57: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_handle_classification_eqe’: ../drivers/net/bnx2x/bnx2x.c:4284:54: error: passing argument 4 of ‘vlan_mac_obj->complete’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4284 | rc = vlan_mac_obj->complete(sc, vlan_mac_obj, elem, &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:4284:54: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_eth_fp’: ../drivers/net/bnx2x/bnx2x.c:4986:33: error: passing argument 9 of ‘ecore_init_mac_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4986 | ECORE_FILTER_MAC_PENDING, &sc->sp_state, | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1838:19: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} 1838 | unsigned long *pstate, ecore_obj_type type, | ~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_objs’: ../drivers/net/bnx2x/bnx2x.c:5745:9: error: passing argument 10 of ‘ecore_init_mcast_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] 5745 | &sc->sp_state, o_type); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1905:32: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} 1905 | int state, unsigned long *pstate, | ~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/bnx2x/bnx2x.c:5765:38: error: passing argument 10 of ‘ecore_init_rss_config_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] 5765 | ECORE_FILTER_RSS_CONF_PENDING, &sc->sp_state, | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1947:37: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’} 1947 | int state, unsigned long *pstate, | ~~~~~~~~~~~~~~~^~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_link_report_locked’: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint32_t’ {aka ‘unsigned int’} [-Werror=format=] 21 | "[%s:%d(%s)] " fmt, __func__, __LINE__, \ | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’ 25 | PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) | ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro ‘PMD_DRV_LOG’ 113 | PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) | ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro ‘ELINK_DEBUG_P2’ 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:59: note: format string is defined here 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ~~^ | | | long unsigned int | %x In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint32_t’ {aka ‘unsigned int’} [-Werror=format=] 21 | "[%s:%d(%s)] " fmt, __func__, __LINE__, \ | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’ 25 | PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) | ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro ‘PMD_DRV_LOG’ 113 | PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) | ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro ‘ELINK_DEBUG_P2’ 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:85: note: format string is defined here 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ~~^ | | | long unsigned int | %x cc1: all warnings being treated as errors [756/2221] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o'. [757/2221] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_hwrm.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #3: OS: CENTOS77-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -c ../drivers/net/bnx2x/bnx2x.c ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_del_all_macs’: ../drivers/net/bnx2x/bnx2x.c:1411:2: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1411:2: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ ../drivers/net/bnx2x/bnx2x.c:1411:2: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror] ../drivers/net/bnx2x/bnx2x.c:1411:2: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_set_q_rx_mode’: ../drivers/net/bnx2x/bnx2x.c:1514:22: error: assignment from incompatible pointer type [-Werror] ramrod_param.pstate = &sc->sp_state; ^ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_squeeze_objects’: ../drivers/net/bnx2x/bnx2x.c:1944:6: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror] &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1944:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ ../drivers/net/bnx2x/bnx2x.c:1944:6: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror] ../drivers/net/bnx2x/bnx2x.c:1944:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ ../drivers/net/bnx2x/bnx2x.c:1952:2: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1952:2: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ ../drivers/net/bnx2x/bnx2x.c:1952:2: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror] ../drivers/net/bnx2x/bnx2x.c:1952:2: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_handle_classification_eqe’: ../drivers/net/bnx2x/bnx2x.c:4284:2: error: passing argument 4 of ‘vlan_mac_obj->complete’ from incompatible pointer type [-Werror] rc = vlan_mac_obj->complete(sc, vlan_mac_obj, elem, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:4284:2: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_eth_fp’: ../drivers/net/bnx2x/bnx2x.c:4987:7: error: passing argument 9 of ‘ecore_init_mac_obj’ from incompatible pointer type [-Werror] ECORE_OBJ_TYPE_RX_TX, &sc->macs_pool); ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1834:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ void ecore_init_mac_obj(struct bnx2x_softc *sc, ^ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_objs’: ../drivers/net/bnx2x/bnx2x.c:5745:9: error: passing argument 10 of ‘ecore_init_mcast_obj’ from incompatible pointer type [-Werror] &sc->sp_state, o_type); ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1901:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ void ecore_init_mcast_obj(struct bnx2x_softc *sc, ^ ../drivers/net/bnx2x/bnx2x.c:5766:7: error: passing argument 10 of ‘ecore_init_rss_config_obj’ from incompatible pointer type [-Werror] ECORE_OBJ_TYPE_RX); ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1943:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t *’ void ecore_init_rss_config_obj(struct bnx2x_softc *sc, ^ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_link_report_locked’: ../drivers/net/bnx2x/bnx2x.c:6915:2: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint32_t’ [-Werror=format=] ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ^ ../drivers/net/bnx2x/bnx2x.c:6915:2: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint32_t’ [-Werror=format=] cc1: all warnings being treated as errors [730/2218] Compiling C object 'drivers/a715181@@rte_pmd_axgbe@sta/meson-generated_.._rte_pmd_axgbe.pmd.c.o'. [731/2218] Generating rte_pmd_avp.exp_chk with a meson_exe.py custom command. [732/2218] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_ethdev.c.o'. [733/2218] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'. [734/2218] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #4: OS: UB1804-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -c ../drivers/net/bnx2x/ecore_sp.c In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_exe_queue_step’: ../drivers/net/bnx2x/ecore_sp.c:178:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_check_pending’: ../drivers/net/bnx2x/ecore_sp.c:259:37: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ! !ECORE_TEST_BIT(o->state, o->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_clear_pending’: ../drivers/net/bnx2x/ecore_sp.c:265:28: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(o->state, o->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_raw_set_pending’: ../drivers/net/bnx2x/ecore_sp.c:272:26: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(o->state, o->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_state_wait’: ../drivers/net/bnx2x/ecore_sp.c:298:30: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!ECORE_TEST_BIT(state, pstate)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_one_mac_e2’: ../drivers/net/bnx2x/ecore_sp.c:807:34: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] unsigned long *vlan_mac_flags = &elem->cmd_data.vlan_mac.vlan_mac_flags; ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:828:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ISCSI_ETH_MAC, vlan_mac_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:831:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] else if (ECORE_TEST_BIT(ECORE_ETH_MAC, vlan_mac_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_complete_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1381:34: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_execute_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1527:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] int restore = ECORE_TEST_BIT(RAMROD_RESTORE, ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1528:53: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] int drv_only = ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_config_vlan_mac’: ../drivers/net/bnx2x/ecore_sp.c:1681:32: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] unsigned long *ramrod_flags = &p->ramrod_flags; ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1682:41: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] int cont = ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1700:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1707:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (cont || ECORE_TEST_BIT(RAMROD_EXEC, ramrod_flags) || ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1708:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(RAMROD_COMP_WAIT, ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c:1710:10: error: passing argument 3 of ‘__ecore_vlan_mac_execute_step’ from incompatible pointer type [-Werror=incompatible-pointer-types] &p->ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.c:1327:12: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ static int __ecore_vlan_mac_execute_step(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c:1735:11: error: passing argument 3 of ‘__ecore_vlan_mac_execute_step’ from incompatible pointer type [-Werror=incompatible-pointer-types] &p->ramrod_flags); ^ ../drivers/net/bnx2x/ecore_sp.c:1327:12: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ static int __ecore_vlan_mac_execute_step(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_rx_mode_e1x’: ../drivers/net/bnx2x/ecore_sp.c:1964:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1968:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1972:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, &p->rx_accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1977:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, &p->rx_accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1982:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1985:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, &p->rx_accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2023:28: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(p->state, p->pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_rx_mode_set_cmd_state_e2’: ../drivers/net/bnx2x/ecore_sp.c:2046:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2049:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2052:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2057:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2061:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2064:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, accept_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2068:44: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_ACCEPT_ANY_VLAN, accept_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_set_rx_mode_e2’: ../drivers/net/bnx2x/ecore_sp.c:2095:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2108:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2126:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_RX_MODE_FCOE_ETH, &p->rx_mode_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2128:33: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2141:33: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_config_rx_mode’: ../drivers/net/bnx2x/ecore_sp.c:2207:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(RAMROD_COMP_WAIT, &p->ramrod_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_clear_sched’: ../drivers/net/bnx2x/ecore_sp.c:3109:34: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(o->sched_state, o->raw.pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_set_sched’: ../drivers/net/bnx2x/ecore_sp.c:3116:32: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(o->sched_state, o->raw.pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_mcast_check_sched’: ../drivers/net/bnx2x/ecore_sp.c:3122:43: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ! !ECORE_TEST_BIT(o->sched_state, o->raw.pstate); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_state_change’: ../drivers/net/bnx2x/ecore_sp.c:3653:33: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(pending_bit, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3667:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ECORE_RET_PENDING(pending_bit, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ ../drivers/net/bnx2x/ecore_sp.c:3667:9: note: in expansion of macro ‘ECORE_RET_PENDING’ return ECORE_RET_PENDING(pending_bit, pending); ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_set_pending’: ../drivers/net/bnx2x/ecore_sp.c:3683:21: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(bit, &obj->pending); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_comp_cmd’: ../drivers/net/bnx2x/ecore_sp.c:3709:37: error: passing argument 2 of ‘rte_test_and_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { ^ ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro ‘ECORE_TEST_AND_CLEAR_BIT’ #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3741:23: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(cmd, &o->pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_setup_data_e2’: ../drivers/net/bnx2x/ecore_sp.c:3757:8: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->flags) * ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_general_data’: ../drivers/net/bnx2x/ecore_sp.c:3769:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_FLG_STATS, flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3773:46: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_ZERO_STATS, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3778:59: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] gen_data->is_fcoe_flg = ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3779:62: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] gen_data->activate_flg = ECORE_TEST_BIT(ECORE_Q_FLG_ACTIVE, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3787:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags) ? ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_tx_data’: ../drivers/net/bnx2x/ecore_sp.c:3800:41: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_TX_SEC, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3802:67: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] tx_data->default_vlan_flg = ECORE_TEST_BIT(ECORE_Q_FLG_DEF_VLAN, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3804:44: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_TX_SWITCH, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3806:45: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_ANTI_SPOOF, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3808:52: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_FORCE_DEFAULT_PRI, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3810:54: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_REFUSE_OUTBAND_VLAN, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3812:47: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_PCSUM_ON_PKT, flags) ? CSUM_ON_PKT : ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_init_rx_data’: ../drivers/net/bnx2x/ecore_sp.c:3845:52: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] rx_data->tpa_en = ECORE_TEST_BIT(ECORE_Q_FLG_TPA, flags) * ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3847:57: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] rx_data->tpa_en |= ECORE_TEST_BIT(ECORE_Q_FLG_TPA_GRO, flags) * ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3852:38: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_OOO, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3854:63: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] rx_data->enable_dynamic_hc = ECORE_TEST_BIT(ECORE_Q_FLG_DHC, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3868:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_VLAN, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3870:37: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_OV, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3880:8: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3882:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_FLG_MCAST, flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3891:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_FLG_SILENT_VLAN_REM, flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_init’: ../drivers/net/bnx2x/ecore_sp.c:3956:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_TX, &o->type) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3968:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_RX, &o->type) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_send_setup_tx_only’: ../drivers/net/bnx2x/ecore_sp.c:4065:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &o->type)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_q_fill_update_data’: ../drivers/net/bnx2x/ecore_sp.c:4116:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_IN_VLAN_REM, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4119:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4123:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_OUT_VLAN_REM, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4126:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4132:48: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_ANTI_SPOOF, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4135:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4139:46: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4141:51: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE_CHNG, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4145:49: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_DEF_VLAN_EN, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4148:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4153:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4156:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4163:50: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_TEST_BIT(ECORE_Q_UPDATE_TX_SWITCHING, ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4166:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->update_flags); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_chk_transition’: ../drivers/net/bnx2x/ecore_sp.c:4438:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->params.setup.flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4466:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4468:10: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4493:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4495:10: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4528:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags) && ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4530:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &update_params->update_flags)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_queue_chk_fwd_transition’: ../drivers/net/bnx2x/ecore_sp.c:4600:9: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ¶ms->params.tx_only.flags)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_init_queue_obj’: ../drivers/net/bnx2x/ecore_sp.c:4654:39: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &type)) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_state_change_comp’: ../drivers/net/bnx2x/ecore_sp.c:4704:37: error: passing argument 2 of ‘rte_test_and_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { ^ ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro ‘ECORE_TEST_AND_CLEAR_BIT’ #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4723:23: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(cmd, &o->pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_chk_transition’: ../drivers/net/bnx2x/ecore_sp.c:4807:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4811:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4818:40: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4827:42: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_send_switch_update’: ../drivers/net/bnx2x/ecore_sp.c:5118:7: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &switch_update_params->changes)) { ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5122:12: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] &switch_update_params->changes); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function ‘ecore_func_state_change’: ../drivers/net/bnx2x/ecore_sp.c:5340:21: error: passing argument 2 of ‘rte_set_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_SET_BIT(cmd, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro ‘ECORE_SET_BIT’ #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_set_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5354:25: error: passing argument 2 of ‘rte_clear_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_CLEAR_BIT(cmd, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro ‘ECORE_CLEAR_BIT’ #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_clear_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5368:32: error: passing argument 2 of ‘rte_get_bit32’ from incompatible pointer type [-Werror=incompatible-pointer-types] return ECORE_RET_PENDING(cmd, pending); ^ ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro ‘ECORE_TEST_BIT’ #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) ^~~ ../drivers/net/bnx2x/ecore_sp.c:5368:9: note: in expansion of macro ‘ECORE_RET_PENDING’ return ECORE_RET_PENDING(cmd, pending); ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18:0, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:1: note: expected ‘uint32_t * {aka unsigned int *}’ but argument is of type ‘long unsigned int *’ rte_get_bit32(unsigned int nr, uint32_t *addr) ^~~~~~~~~~~~~ cc1: all warnings being treated as errors [748/2160] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_cpr.c.o'. [749/2160] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x_stats.c.o'. [750/2160] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o'. [751/2160] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -c ../drivers/net/bnx2x/bnx2x.c ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_del_all_macs’: ../drivers/net/bnx2x/bnx2x.c:1411:40: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1411:40: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1411:57: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1411:57: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_set_q_rx_mode’: ../drivers/net/bnx2x/bnx2x.c:1514:22: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] ramrod_param.pstate = &sc->sp_state; ^ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_squeeze_objects’: ../drivers/net/bnx2x/bnx2x.c:1943:54: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, &sc->sp_objs->mac_obj, &vlan_mac_flags, ^ ../drivers/net/bnx2x/bnx2x.c:1943:54: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1944:6: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1944:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1952:40: error: passing argument 3 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1952:40: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c:1952:57: error: passing argument 4 of ‘mac_obj->delete_all’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:1952:57: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_handle_classification_eqe’: ../drivers/net/bnx2x/bnx2x.c:4284:54: error: passing argument 4 of ‘vlan_mac_obj->complete’ from incompatible pointer type [-Werror=incompatible-pointer-types] rc = vlan_mac_obj->complete(sc, vlan_mac_obj, elem, &ramrod_flags); ^ ../drivers/net/bnx2x/bnx2x.c:4284:54: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_eth_fp’: ../drivers/net/bnx2x/bnx2x.c:4986:33: error: passing argument 9 of ‘ecore_init_mac_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_FILTER_MAC_PENDING, &sc->sp_state, ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1834:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ void ecore_init_mac_obj(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_init_objs’: ../drivers/net/bnx2x/bnx2x.c:5745:9: error: passing argument 10 of ‘ecore_init_mcast_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] &sc->sp_state, o_type); ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1901:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ void ecore_init_mcast_obj(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:5765:38: error: passing argument 10 of ‘ecore_init_rss_config_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types] ECORE_FILTER_RSS_CONF_PENDING, &sc->sp_state, ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11:0, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1943:6: note: expected ‘long unsigned int *’ but argument is of type ‘uint32_t * {aka unsigned int *}’ void ecore_init_rss_config_obj(struct bnx2x_softc *sc, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41:0, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x.c: In function ‘bnx2x_link_report_locked’: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘uint32_t {aka unsigned int}’ [-Werror=format=] "[%s:%d(%s)] " fmt, __func__, __LINE__, \ ^ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’ PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro ‘ELINK_DEBUG_P2’ ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:59: note: format string is defined here ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ~~^ %x In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41:0, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘uint32_t {aka unsigned int}’ [-Werror=format=] "[%s:%d(%s)] " fmt, __func__, __LINE__, \ ^ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro ‘PMD_DRV_LOG_RAW’ PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro ‘ELINK_DEBUG_P2’ ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:85: note: format string is defined here ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", ~~^ %x cc1: all warnings being treated as errors [752/2160] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #5: OS: FreeBSD1201-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_ecore_sp.c.o' -c ../drivers/net/bnx2x/ecore_sp.c In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_exe_queue_step': ../drivers/net/bnx2x/ecore_sp.c:178:43: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 178 | if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_raw_check_pending': ../drivers/net/bnx2x/ecore_sp.c:259:38: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 259 | return ! !ECORE_TEST_BIT(o->state, o->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_raw_clear_pending': ../drivers/net/bnx2x/ecore_sp.c:265:29: error: passing argument 2 of 'rte_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 265 | ECORE_CLEAR_BIT(o->state, o->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro 'ECORE_CLEAR_BIT' 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_raw_set_pending': ../drivers/net/bnx2x/ecore_sp.c:272:27: error: passing argument 2 of 'rte_set_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 272 | ECORE_SET_BIT(o->state, o->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro 'ECORE_SET_BIT' 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_state_wait': ../drivers/net/bnx2x/ecore_sp.c:298:30: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 298 | if (!ECORE_TEST_BIT(state, pstate)) { | ^~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_set_one_mac_e2': ../drivers/net/bnx2x/ecore_sp.c:807:34: error: initialization of 'long unsigned int *' from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Werror=incompatible-pointer-types] 807 | unsigned long *vlan_mac_flags = &elem->cmd_data.vlan_mac.vlan_mac_flags; | ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:828:43: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 828 | if (ECORE_TEST_BIT(ECORE_ISCSI_ETH_MAC, vlan_mac_flags)) | ^~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:831:42: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 831 | else if (ECORE_TEST_BIT(ECORE_ETH_MAC, vlan_mac_flags)) | ^~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_complete_vlan_mac': ../drivers/net/bnx2x/ecore_sp.c:1381:34: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1381 | if (ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_execute_vlan_mac': ../drivers/net/bnx2x/ecore_sp.c:1527:47: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1527 | int restore = ECORE_TEST_BIT(RAMROD_RESTORE, ramrod_flags); | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1528:53: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1528 | int drv_only = ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags); | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_config_vlan_mac': ../drivers/net/bnx2x/ecore_sp.c:1681:32: error: initialization of 'long unsigned int *' from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Werror=incompatible-pointer-types] 1681 | unsigned long *ramrod_flags = &p->ramrod_flags; | ^ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1682:41: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1682 | int cont = ECORE_TEST_BIT(RAMROD_CONT, ramrod_flags); | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1700:42: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1700 | if (ECORE_TEST_BIT(RAMROD_DRV_CLR_ONLY, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1707:42: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1707 | if (cont || ECORE_TEST_BIT(RAMROD_EXEC, ramrod_flags) || | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1708:39: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1708 | ECORE_TEST_BIT(RAMROD_COMP_WAIT, ramrod_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ ../drivers/net/bnx2x/ecore_sp.c:1710:10: error: passing argument 3 of '__ecore_vlan_mac_execute_step' from incompatible pointer type [-Werror=incompatible-pointer-types] 1710 | &p->ramrod_flags); | ^~~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/ecore_sp.c:1329:22: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 1329 | unsigned long *ramrod_flags) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../drivers/net/bnx2x/ecore_sp.c:1735:11: error: passing argument 3 of '__ecore_vlan_mac_execute_step' from incompatible pointer type [-Werror=incompatible-pointer-types] 1735 | &p->ramrod_flags); | ^~~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/ecore_sp.c:1329:22: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 1329 | unsigned long *ramrod_flags) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_set_rx_mode_e1x': ../drivers/net/bnx2x/ecore_sp.c:1964:43: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1964 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1968:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1968 | if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1972:47: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1972 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, &p->rx_accept_flags)) { | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1977:49: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1977 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, &p->rx_accept_flags)) { | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1982:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1982 | if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:1985:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 1985 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, &p->rx_accept_flags)) | ^~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2023:29: error: passing argument 2 of 'rte_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2023 | ECORE_CLEAR_BIT(p->state, p->pstate); | ~^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro 'ECORE_CLEAR_BIT' 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_rx_mode_set_cmd_state_e2': ../drivers/net/bnx2x/ecore_sp.c:2046:43: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2046 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNICAST, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2049:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2049 | if (ECORE_TEST_BIT(ECORE_ACCEPT_MULTICAST, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2052:47: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2052 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_UNICAST, accept_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2057:49: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2057 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ALL_MULTICAST, accept_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2061:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2061 | if (ECORE_TEST_BIT(ECORE_ACCEPT_BROADCAST, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2064:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2064 | if (ECORE_TEST_BIT(ECORE_ACCEPT_UNMATCHED, accept_flags)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2068:44: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2068 | if (ECORE_TEST_BIT(ECORE_ACCEPT_ANY_VLAN, accept_flags)) | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_set_rx_mode_e2': ../drivers/net/bnx2x/ecore_sp.c:2095:32: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2095 | if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2108:32: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2108 | if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2126:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2126 | if (ECORE_TEST_BIT(ECORE_RX_MODE_FCOE_ETH, &p->rx_mode_flags)) { | ^~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2128:33: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2128 | if (ECORE_TEST_BIT(RAMROD_TX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:2141:33: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2141 | if (ECORE_TEST_BIT(RAMROD_RX, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_config_rx_mode': ../drivers/net/bnx2x/ecore_sp.c:2207:40: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 2207 | if (ECORE_TEST_BIT(RAMROD_COMP_WAIT, &p->ramrod_flags)) { | ^~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_mcast_clear_sched': ../drivers/net/bnx2x/ecore_sp.c:3109:40: error: passing argument 2 of 'rte_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3109 | ECORE_CLEAR_BIT(o->sched_state, o->raw.pstate); | ~~~~~~^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro 'ECORE_CLEAR_BIT' 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_mcast_set_sched': ../drivers/net/bnx2x/ecore_sp.c:3116:38: error: passing argument 2 of 'rte_set_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3116 | ECORE_SET_BIT(o->sched_state, o->raw.pstate); | ~~~~~~^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro 'ECORE_SET_BIT' 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_mcast_check_sched': ../drivers/net/bnx2x/ecore_sp.c:3122:49: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3122 | return ! !ECORE_TEST_BIT(o->sched_state, o->raw.pstate); | ~~~~~~^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_queue_state_change': ../drivers/net/bnx2x/ecore_sp.c:3653:33: error: passing argument 2 of 'rte_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3653 | ECORE_CLEAR_BIT(pending_bit, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro 'ECORE_CLEAR_BIT' 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3667:40: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3667 | return ECORE_RET_PENDING(pending_bit, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ ../drivers/net/bnx2x/ecore_sp.c:3667:9: note: in expansion of macro 'ECORE_RET_PENDING' 3667 | return ECORE_RET_PENDING(pending_bit, pending); | ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_queue_set_pending': ../drivers/net/bnx2x/ecore_sp.c:3683:21: error: passing argument 2 of 'rte_set_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3683 | ECORE_SET_BIT(bit, &obj->pending); | ^~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro 'ECORE_SET_BIT' 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_queue_comp_cmd': ../drivers/net/bnx2x/ecore_sp.c:3709:37: error: passing argument 2 of 'rte_test_and_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3709 | if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro 'ECORE_TEST_AND_CLEAR_BIT' 80 | #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:53: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 239 | rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3741:23: error: passing argument 2 of 'rte_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3741 | ECORE_CLEAR_BIT(cmd, &o->pending); | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro 'ECORE_CLEAR_BIT' 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_q_fill_setup_data_e2': ../drivers/net/bnx2x/ecore_sp.c:3757:8: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3757 | ¶ms->flags) * | ^~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_q_fill_init_general_data': ../drivers/net/bnx2x/ecore_sp.c:3769:40: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3769 | if (ECORE_TEST_BIT(ECORE_Q_FLG_STATS, flags)) { | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3773:46: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3773 | ECORE_TEST_BIT(ECORE_Q_FLG_ZERO_STATS, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3778:59: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3778 | gen_data->is_fcoe_flg = ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3779:62: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3779 | gen_data->activate_flg = ECORE_TEST_BIT(ECORE_Q_FLG_ACTIVE, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3787:39: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3787 | ECORE_TEST_BIT(ECORE_Q_FLG_FCOE, flags) ? | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_q_fill_init_tx_data': ../drivers/net/bnx2x/ecore_sp.c:3800:41: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3800 | ECORE_TEST_BIT(ECORE_Q_FLG_TX_SEC, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3802:67: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3802 | tx_data->default_vlan_flg = ECORE_TEST_BIT(ECORE_Q_FLG_DEF_VLAN, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3804:44: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3804 | ECORE_TEST_BIT(ECORE_Q_FLG_TX_SWITCH, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3806:45: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3806 | ECORE_TEST_BIT(ECORE_Q_FLG_ANTI_SPOOF, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3808:52: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3808 | ECORE_TEST_BIT(ECORE_Q_FLG_FORCE_DEFAULT_PRI, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3810:54: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3810 | ECORE_TEST_BIT(ECORE_Q_FLG_REFUSE_OUTBAND_VLAN, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3812:47: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3812 | ECORE_TEST_BIT(ECORE_Q_FLG_PCSUM_ON_PKT, flags) ? CSUM_ON_PKT : | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_q_fill_init_rx_data': ../drivers/net/bnx2x/ecore_sp.c:3845:52: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3845 | rx_data->tpa_en = ECORE_TEST_BIT(ECORE_Q_FLG_TPA, flags) * | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3847:57: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3847 | rx_data->tpa_en |= ECORE_TEST_BIT(ECORE_Q_FLG_TPA_GRO, flags) * | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3852:38: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3852 | ECORE_TEST_BIT(ECORE_Q_FLG_OOO, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3854:63: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3854 | rx_data->enable_dynamic_hc = ECORE_TEST_BIT(ECORE_Q_FLG_DHC, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3868:39: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3868 | ECORE_TEST_BIT(ECORE_Q_FLG_VLAN, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3870:37: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3870 | ECORE_TEST_BIT(ECORE_Q_FLG_OV, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3880:8: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3880 | flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3882:40: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3882 | if (ECORE_TEST_BIT(ECORE_Q_FLG_MCAST, flags)) { | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3891:50: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3891 | ECORE_TEST_BIT(ECORE_Q_FLG_SILENT_VLAN_REM, flags); | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_q_init': ../drivers/net/bnx2x/ecore_sp.c:3956:42: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3956 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_TX, &o->type) && | ^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:3968:42: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 3968 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_HAS_RX, &o->type) && | ^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_q_send_setup_tx_only': ../drivers/net/bnx2x/ecore_sp.c:4065:39: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4065 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &o->type)) | ^~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_q_fill_update_data': ../drivers/net/bnx2x/ecore_sp.c:4116:49: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4116 | ECORE_TEST_BIT(ECORE_Q_UPDATE_IN_VLAN_REM, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4119:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4119 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4123:50: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4123 | ECORE_TEST_BIT(ECORE_Q_UPDATE_OUT_VLAN_REM, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4126:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4126 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4132:48: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4132 | ECORE_TEST_BIT(ECORE_Q_UPDATE_ANTI_SPOOF, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4135:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4135 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4139:46: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4139 | ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4141:51: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4141 | ECORE_TEST_BIT(ECORE_Q_UPDATE_ACTIVATE_CHNG, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4145:49: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4145 | ECORE_TEST_BIT(ECORE_Q_UPDATE_DEF_VLAN_EN, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4148:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4148 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4153:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4153 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4156:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4156 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4163:50: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4163 | ECORE_TEST_BIT(ECORE_Q_UPDATE_TX_SWITCHING, ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4166:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4166 | ¶ms->update_flags); | ^~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_queue_chk_transition': ../drivers/net/bnx2x/ecore_sp.c:4438:9: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4438 | ¶ms->params.setup.flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4466:9: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4466 | &update_params->update_flags) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4468:10: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4468 | &update_params->update_flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4493:9: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4493 | &update_params->update_flags) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4495:10: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4495 | &update_params->update_flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4528:9: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4528 | &update_params->update_flags) && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4530:9: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4530 | &update_params->update_flags)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_queue_chk_fwd_transition': ../drivers/net/bnx2x/ecore_sp.c:4600:9: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4600 | ¶ms->params.tx_only.flags)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_init_queue_obj': ../drivers/net/bnx2x/ecore_sp.c:4654:39: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4654 | if (ECORE_TEST_BIT(ECORE_Q_TYPE_FWD, &type)) | ^~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_func_state_change_comp': ../drivers/net/bnx2x/ecore_sp.c:4704:37: error: passing argument 2 of 'rte_test_and_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4704 | if (!ECORE_TEST_AND_CLEAR_BIT(cmd, &cur_pending)) { | ^~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:80:74: note: in definition of macro 'ECORE_TEST_AND_CLEAR_BIT' 80 | #define ECORE_TEST_AND_CLEAR_BIT(bit, var) rte_test_and_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:239:53: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 239 | rte_test_and_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4723:23: error: passing argument 2 of 'rte_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4723 | ECORE_CLEAR_BIT(cmd, &o->pending); | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro 'ECORE_CLEAR_BIT' 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_func_chk_transition': ../drivers/net/bnx2x/ecore_sp.c:4807:40: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4807 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4811:40: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4811 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4818:40: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4818 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:4827:42: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 4827 | (!ECORE_TEST_BIT(ECORE_F_CMD_STOP, &o->pending))) | ^~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_func_send_switch_update': ../drivers/net/bnx2x/ecore_sp.c:5118:7: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 5118 | &switch_update_params->changes)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5122:12: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 5122 | &switch_update_params->changes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c: In function 'ecore_func_state_change': ../drivers/net/bnx2x/ecore_sp.c:5340:21: error: passing argument 2 of 'rte_set_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 5340 | ECORE_SET_BIT(cmd, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:78:63: note: in definition of macro 'ECORE_SET_BIT' 78 | #define ECORE_SET_BIT(bit, var) rte_set_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:170:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 170 | rte_set_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5354:25: error: passing argument 2 of 'rte_clear_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 5354 | ECORE_CLEAR_BIT(cmd, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:79:65: note: in definition of macro 'ECORE_CLEAR_BIT' 79 | #define ECORE_CLEAR_BIT(bit, var) rte_clear_bit32(bit, var) | ^~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:191:44: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 191 | rte_clear_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../drivers/net/bnx2x/ecore_sp.c:5368:32: error: passing argument 2 of 'rte_get_bit32' from incompatible pointer type [-Werror=incompatible-pointer-types] 5368 | return ECORE_RET_PENDING(cmd, pending); | ^~~~~~~ | | | long unsigned int * ../drivers/net/bnx2x/ecore_sp.h:77:63: note: in definition of macro 'ECORE_TEST_BIT' 77 | #define ECORE_TEST_BIT(bit, var) rte_get_bit32(bit, var) | ^~~ ../drivers/net/bnx2x/ecore_sp.c:5368:9: note: in expansion of macro 'ECORE_RET_PENDING' 5368 | return ECORE_RET_PENDING(cmd, pending); | ^~~~~~~~~~~~~~~~~ In file included from ../drivers/net/bnx2x/ecore_sp.h:18, from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/ecore_sp.c:14: ../lib/librte_eal/common/include/rte_bitops.h:149:42: note: expected 'uint32_t *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *' 149 | rte_get_bit32(unsigned int nr, uint32_t *addr) | ~~~~~~~~~~^~~~ cc1: all warnings being treated as errors [520/1637] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_filter.c.o'. [521/1637] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnxt@sta/net_bnxt_bnxt_ethdev.c.o'. [522/1637] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_bnx2x@sta -Idrivers -I../drivers -Idrivers/net/bnx2x -I../drivers/net/bnx2x -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DZLIB_CONST -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_bnx2x.c.o' -c ../drivers/net/bnx2x/bnx2x.c ../drivers/net/bnx2x/bnx2x.c: In function 'bnx2x_del_all_macs': ../drivers/net/bnx2x/bnx2x.c:1411:40: error: passing argument 3 of 'mac_obj->delete_all' from incompatible pointer type [-Werror=incompatible-pointer-types] 1411 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1411:40: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} ../drivers/net/bnx2x/bnx2x.c:1411:57: error: passing argument 4 of 'mac_obj->delete_all' from incompatible pointer type [-Werror=incompatible-pointer-types] 1411 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1411:57: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} ../drivers/net/bnx2x/bnx2x.c: In function 'bnx2x_set_q_rx_mode': ../drivers/net/bnx2x/bnx2x.c:1514:22: error: assignment to 'long unsigned int *' from incompatible pointer type 'uint32_t *' {aka 'unsigned int *'} [-Werror=incompatible-pointer-types] 1514 | ramrod_param.pstate = &sc->sp_state; | ^ ../drivers/net/bnx2x/bnx2x.c: In function 'bnx2x_squeeze_objects': ../drivers/net/bnx2x/bnx2x.c:1943:54: error: passing argument 3 of 'mac_obj->delete_all' from incompatible pointer type [-Werror=incompatible-pointer-types] 1943 | rc = mac_obj->delete_all(sc, &sc->sp_objs->mac_obj, &vlan_mac_flags, | ^~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1943:54: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} ../drivers/net/bnx2x/bnx2x.c:1944:6: error: passing argument 4 of 'mac_obj->delete_all' from incompatible pointer type [-Werror=incompatible-pointer-types] 1944 | &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1944:6: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} ../drivers/net/bnx2x/bnx2x.c:1952:40: error: passing argument 3 of 'mac_obj->delete_all' from incompatible pointer type [-Werror=incompatible-pointer-types] 1952 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1952:40: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} ../drivers/net/bnx2x/bnx2x.c:1952:57: error: passing argument 4 of 'mac_obj->delete_all' from incompatible pointer type [-Werror=incompatible-pointer-types] 1952 | rc = mac_obj->delete_all(sc, mac_obj, &vlan_mac_flags, &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:1952:57: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} ../drivers/net/bnx2x/bnx2x.c: In function 'bnx2x_handle_classification_eqe': ../drivers/net/bnx2x/bnx2x.c:4284:54: error: passing argument 4 of 'vlan_mac_obj->complete' from incompatible pointer type [-Werror=incompatible-pointer-types] 4284 | rc = vlan_mac_obj->complete(sc, vlan_mac_obj, elem, &ramrod_flags); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} ../drivers/net/bnx2x/bnx2x.c:4284:54: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} ../drivers/net/bnx2x/bnx2x.c: In function 'bnx2x_init_eth_fp': ../drivers/net/bnx2x/bnx2x.c:4986:33: error: passing argument 9 of 'ecore_init_mac_obj' from incompatible pointer type [-Werror=incompatible-pointer-types] 4986 | ECORE_FILTER_MAC_PENDING, &sc->sp_state, | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1838:19: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 1838 | unsigned long *pstate, ecore_obj_type type, | ~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/bnx2x/bnx2x.c: In function 'bnx2x_init_objs': ../drivers/net/bnx2x/bnx2x.c:5745:9: error: passing argument 10 of 'ecore_init_mcast_obj' from incompatible pointer type [-Werror=incompatible-pointer-types] 5745 | &sc->sp_state, o_type); | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1905:32: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 1905 | int state, unsigned long *pstate, | ~~~~~~~~~~~~~~~^~~~~~ ../drivers/net/bnx2x/bnx2x.c:5765:38: error: passing argument 10 of 'ecore_init_rss_config_obj' from incompatible pointer type [-Werror=incompatible-pointer-types] 5765 | ECORE_FILTER_RSS_CONF_PENDING, &sc->sp_state, | ^~~~~~~~~~~~~ | | | uint32_t * {aka unsigned int *} In file included from ../drivers/net/bnx2x/bnx2x_vfpf.h:11, from ../drivers/net/bnx2x/bnx2x.h:29, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/ecore_sp.h:1947:37: note: expected 'long unsigned int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 1947 | int state, unsigned long *pstate, | ~~~~~~~~~~~~~~~^~~~~~ In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x.c: In function 'bnx2x_link_report_locked': ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'uint32_t' {aka 'unsigned int'} [-Werror=format=] 21 | "[%s:%d(%s)] " fmt, __func__, __LINE__, \ | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro 'PMD_DRV_LOG_RAW' 25 | PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) | ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro 'PMD_DRV_LOG' 113 | PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) | ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro 'ELINK_DEBUG_P2' 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:59: note: format string is defined here 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ~~^ | | | long unsigned int | %x In file included from ../drivers/net/bnx2x/bnx2x_ethdev.h:41, from ../drivers/net/bnx2x/bnx2x.h:23, from ../drivers/net/bnx2x/bnx2x.c:16: ../drivers/net/bnx2x/bnx2x_logs.h:21:3: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'uint32_t' {aka 'unsigned int'} [-Werror=format=] 21 | "[%s:%d(%s)] " fmt, __func__, __LINE__, \ | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x_logs.h:25:2: note: in expansion of macro 'PMD_DRV_LOG_RAW' 25 | PMD_DRV_LOG_RAW(level, sc, fmt "\n", ## args) | ^~~~~~~~~~~~~~~ ../drivers/net/bnx2x/elink.h:113:2: note: in expansion of macro 'PMD_DRV_LOG' 113 | PMD_DRV_LOG(DEBUG, sc, fmt, arg1, arg2) | ^~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:2: note: in expansion of macro 'ELINK_DEBUG_P2' 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ^~~~~~~~~~~~~~ ../drivers/net/bnx2x/bnx2x.c:6915:85: note: format string is defined here 6915 | ELINK_DEBUG_P2(sc, "Change in link status : cur_data = %lx, last_reported_link = %lx", | ~~^ | | | long unsigned int | %x cc1: all warnings being treated as errors [523/1637] Compiling C object 'drivers/a715181@@tmp_rte_pmd_bnx2x@sta/net_bnx2x_elink.c.o'. [524/1637] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'. ninja: build stopped: subcommand failed DPDK STV team