========== build_allmodconfig_warn - FAILED In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k.o] Error 1 make[9]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c:16: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c:7: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:10: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/qos.c:12: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/qos.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c:20: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:11: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c: In function ‘otx2_qos_sqb_flush’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:159:15: note: in expansion of macro ‘otx2_atomic64_add’ 159 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:159:15: note: in expansion of macro ‘otx2_atomic64_add’ 159 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:10: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:17: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_nix_rq_op_stats’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:24: note: in expansion of macro ‘otx2_atomic64_add’ 34 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:24: note: in expansion of macro ‘otx2_atomic64_add’ 34 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:37:23: note: in expansion of macro ‘otx2_atomic64_add’ 37 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:37:23: note: in expansion of macro ‘otx2_atomic64_add’ 37 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_nix_sq_op_stats’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:24: note: in expansion of macro ‘otx2_atomic64_add’ 47 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:24: note: in expansion of macro ‘otx2_atomic64_add’ 47 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:50:23: note: in expansion of macro ‘otx2_atomic64_add’ 50 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:50:23: note: in expansion of macro ‘otx2_atomic64_add’ 50 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_sqb_flush’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:873:23: note: in expansion of macro ‘otx2_atomic64_add’ 873 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:873:23: note: in expansion of macro ‘otx2_atomic64_add’ 873 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:18: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c:11: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:14: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/rep.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:22: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c: In function ‘otx2_q_intr_handler’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:23: note: in expansion of macro ‘otx2_atomic64_add’ 1314 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:23: note: in expansion of macro ‘otx2_atomic64_add’ 1314 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1353:23: note: in expansion of macro ‘otx2_atomic64_add’ 1353 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1353:23: note: in expansion of macro ‘otx2_atomic64_add’ 1353 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.o] Error 1 make[8]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell/octeontx2/nic] Error 2 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell/octeontx2] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell] Error 2 make[5]: *** [../scripts/Makefile.build:461: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[2]: *** [/home/nipa/net/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:33:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:36:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:46:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:49:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:865:16: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:599:48: warning: cast removes address space '__iomem' of expression ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem * In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.o] Error 1 make[9]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c:7: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c:8: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c:16: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/qos.c:12: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/qos.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:17: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_nix_rq_op_stats’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:24: note: in expansion of macro ‘otx2_atomic64_add’ 34 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:24: note: in expansion of macro ‘otx2_atomic64_add’ 34 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:37:23: note: in expansion of macro ‘otx2_atomic64_add’ 37 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:37:23: note: in expansion of macro ‘otx2_atomic64_add’ 37 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_nix_sq_op_stats’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:24: note: in expansion of macro ‘otx2_atomic64_add’ 47 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:24: note: in expansion of macro ‘otx2_atomic64_add’ 47 | stats->bytes = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:50:23: note: in expansion of macro ‘otx2_atomic64_add’ 50 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:50:23: note: in expansion of macro ‘otx2_atomic64_add’ 50 | stats->pkts = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_sqb_flush’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:873:23: note: in expansion of macro ‘otx2_atomic64_add’ 873 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:873:23: note: in expansion of macro ‘otx2_atomic64_add’ 873 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:10: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c:11: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c:20: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:10: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:14: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/rep.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, from ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:11: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c: In function ‘otx2_qos_sqb_flush’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:159:15: note: in expansion of macro ‘otx2_atomic64_add’ 159 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:159:15: note: in expansion of macro ‘otx2_atomic64_add’ 159 | val = otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:22: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c: In function ‘otx2_q_intr_handler’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:23: note: in expansion of macro ‘otx2_atomic64_add’ 1314 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:23: note: in expansion of macro ‘otx2_atomic64_add’ 1314 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1353:23: note: in expansion of macro ‘otx2_atomic64_add’ 1353 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1353:23: note: in expansion of macro ‘otx2_atomic64_add’ 1353 | val = otx2_atomic64_add((qidx << 44), ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:18: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.o] Error 1 In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:13: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) | ^~ ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ 804 | return otx2_atomic64_add(incr, ptr); | ^~~~~~~~~~~~~~~~~ make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.o] Error 1 make[8]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell/octeontx2/nic] Error 2 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell/octeontx2] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell] Error 2 make[5]: *** [../scripts/Makefile.build:461: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 make[2]: *** [/home/nipa/net/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.GW35oRhUNs 2025-05-26 08:55:49.938646152 -0700 +++ /tmp/tmp.5ZpKF09pE1 2025-05-26 08:56:04.765270069 -0700 @@ -1,15 +1,377 @@ -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:33:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:36:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:46:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:49:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:865:16: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:599:48: warning: cast removes address space '__iomem' of expression -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: warning: incorrect type in argument 1 (different address spaces) -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: expected void volatile [noderef] __iomem *addr -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:649:35: got void *hwbase -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: warning: incorrect type in assignment (different address spaces) -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: expected unsigned long long [usertype] *ptr -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1313:21: got void [noderef] __iomem * -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: warning: incorrect type in assignment (different address spaces) -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: expected unsigned long long [usertype] *ptr -../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1352:21: got void [noderef] __iomem * +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.c:8: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_dmac_flt.o] Error 1 +make[9]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c:8: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.c:7: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_devlink.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, + from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.c:8: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c:16: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/qos.c:12: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/qos.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c:13: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:17: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_nix_rq_op_stats’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:24: note: in expansion of macro ‘otx2_atomic64_add’ + 34 | stats->bytes = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:34:24: note: in expansion of macro ‘otx2_atomic64_add’ + 34 | stats->bytes = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:37:23: note: in expansion of macro ‘otx2_atomic64_add’ + 37 | stats->pkts = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:37:23: note: in expansion of macro ‘otx2_atomic64_add’ + 37 | stats->pkts = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_nix_sq_op_stats’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:24: note: in expansion of macro ‘otx2_atomic64_add’ + 47 | stats->bytes = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:47:24: note: in expansion of macro ‘otx2_atomic64_add’ + 47 | stats->bytes = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:50:23: note: in expansion of macro ‘otx2_atomic64_add’ + 50 | stats->pkts = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:50:23: note: in expansion of macro ‘otx2_atomic64_add’ + 50 | stats->pkts = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c: In function ‘otx2_sqb_flush’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:873:23: note: in expansion of macro ‘otx2_atomic64_add’ + 873 | val = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c:873:23: note: in expansion of macro ‘otx2_atomic64_add’ + 873 | val = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.c:10: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_ptp.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c:11: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, + from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c:20: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.c:10: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k_macsec.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/rep.c:14: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/rep.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.c:13: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_xsk.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k.h:11, + from ../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:11: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c: In function ‘otx2_qos_sqb_flush’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:159:15: note: in expansion of macro ‘otx2_atomic64_add’ + 159 | val = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.c:159:15: note: in expansion of macro ‘otx2_atomic64_add’ + 159 | val = otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/qos_sq.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:22: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c: In function ‘otx2_q_intr_handler’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:23: note: in expansion of macro ‘otx2_atomic64_add’ + 1314 | val = otx2_atomic64_add((qidx << 44), ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1314:23: note: in expansion of macro ‘otx2_atomic64_add’ + 1314 | val = otx2_atomic64_add((qidx << 44), ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1353:23: note: in expansion of macro ‘otx2_atomic64_add’ + 1353 | val = otx2_atomic64_add((qidx << 44), ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1353:23: note: in expansion of macro ‘otx2_atomic64_add’ + 1353 | val = otx2_atomic64_add((qidx << 44), ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c:18: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.o] Error 1 +In file included from ../drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.c:13: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h: In function ‘otx2_aura_allocptr’: +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:52: warning: dereferencing ‘void *’ pointer + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:751:57: error: invalid use of void expression + 751 | #define otx2_atomic64_add(incr, ptr) ({ *ptr += incr; }) + | ^~ +../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h:804:16: note: in expansion of macro ‘otx2_atomic64_add’ + 804 | return otx2_atomic64_add(incr, ptr); + | ^~~~~~~~~~~~~~~~~ +make[9]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/marvell/octeontx2/nic/cn10k_ipsec.o] Error 1 +make[8]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell/octeontx2/nic] Error 2 +make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell/octeontx2] Error 2 +make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/marvell] Error 2 +make[5]: *** [../scripts/Makefile.build:461: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:461: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:461: drivers] Error 2 +make[2]: *** [/home/nipa/net/wt-0/Makefile:2003: .] Error 2 +make[1]: *** [/home/nipa/net/wt-0/Makefile:248: __sub-make] Error 2 +make: *** [Makefile:248: __sub-make] Error 2 Per-file breakdown --- /tmp/tmp.M6oGb9hMai 2025-05-26 08:56:04.774269990 -0700 +++ /tmp/tmp.CExLBQuEsx 2025-05-26 08:56:04.777269963 -0700 @@ -1,2 +1 @@ - 5 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c - 4 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c + 52 ../drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h