../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1146:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1146 | PPE_SERVICE_SET_BYPASS_BITMAP(servcode_val, bitmap_value); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:79:2: note: expanded from macro 'PPE_SERVICE_SET_BYPASS_BITMAP' 79 | FIELD_MODIFY(PPE_SERVICE_W0_BYPASS_BITMAP, tbl_cfg, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1202:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1202 | PPE_MRU_MTU_CTRL_SET_RX_CNT_EN(mru_mtu_val, true); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:151:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_RX_CNT_EN' 151 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W1_RX_CNT_EN, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1391:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1391 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:306:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' 306 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1483:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1483 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:400:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' 400 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1828:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1828 | PPE_MRU_MTU_CTRL_SET_MRU_CMD(mru_mtu_val, PPE_ACTION_DROP); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:145:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_MRU_CMD' 145 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W0_MRU_CMD, tbl_cfg, value) | ^ 5 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/qualcomm/ppe/ppe_config.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/qualcomm/ppe] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/qualcomm] 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-next/wt-1/Makefile:2004: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1146:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1146 | PPE_SERVICE_SET_BYPASS_BITMAP(servcode_val, bitmap_value); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:79:2: note: expanded from macro 'PPE_SERVICE_SET_BYPASS_BITMAP' 79 | FIELD_MODIFY(PPE_SERVICE_W0_BYPASS_BITMAP, tbl_cfg, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1202:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1202 | PPE_MRU_MTU_CTRL_SET_RX_CNT_EN(mru_mtu_val, true); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:189:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_RX_CNT_EN' 189 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W1_RX_CNT_EN, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1391:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1391 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:356:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' 356 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1483:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1483 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:450:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' 450 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1828:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1828 | PPE_MRU_MTU_CTRL_SET_MRU_CMD(mru_mtu_val, PPE_ACTION_DROP); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:183:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_MRU_CMD' 183 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W0_MRU_CMD, tbl_cfg, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1953:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1953 | PPE_L2_PORT_SET_INVALID_VSI_FWD_EN(port_cfg, true); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:212:2: note: expanded from macro 'PPE_L2_PORT_SET_INVALID_VSI_FWD_EN' 212 | FIELD_MODIFY(PPE_L2_VP_PORT_W0_INVALID_VSI_FWD_EN, tbl_cfg, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1974:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1974 | PPE_VSI_SET_MEMBER_PORT_BITMAP(vsi_cfg, BIT(0)); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:150:2: note: expanded from macro 'PPE_VSI_SET_MEMBER_PORT_BITMAP' 150 | FIELD_MODIFY(PPE_VSI_W0_MEMBER_PORT_BITMAP, tbl_cfg, value) | ^ 7 errors generated. make[8]: *** [../scripts/Makefile.build:203: drivers/net/ethernet/qualcomm/ppe/ppe_config.o] Error 1 make[7]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/qualcomm/ppe] Error 2 make[6]: *** [../scripts/Makefile.build:461: drivers/net/ethernet/qualcomm] 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-next/wt-1/Makefile:2004: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 New errors added --- /tmp/tmp.Kei7WuuRcE 2025-05-13 04:17:52.320086529 -0700 +++ /tmp/tmp.nVLjhknKty 2025-05-13 04:18:12.346928424 -0700 @@ -10,2 +10,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:151:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_RX_CNT_EN' - 151 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W1_RX_CNT_EN, (tbl_cfg) + 0x1, value) +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:189:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_RX_CNT_EN' + 189 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W1_RX_CNT_EN, (tbl_cfg) + 0x1, value) @@ -16,2 +16,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:306:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' - 306 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:356:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' + 356 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) @@ -22,2 +22,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:400:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' - 400 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:450:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' + 450 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) @@ -28,2 +28,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:145:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_MRU_CMD' - 145 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W0_MRU_CMD, tbl_cfg, value) +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:183:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_MRU_CMD' + 183 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W0_MRU_CMD, tbl_cfg, value) @@ -31 +31,13 @@ -5 errors generated. +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1953:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1953 | PPE_L2_PORT_SET_INVALID_VSI_FWD_EN(port_cfg, true); + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:212:2: note: expanded from macro 'PPE_L2_PORT_SET_INVALID_VSI_FWD_EN' + 212 | FIELD_MODIFY(PPE_L2_VP_PORT_W0_INVALID_VSI_FWD_EN, tbl_cfg, value) + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1974:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1974 | PPE_VSI_SET_MEMBER_PORT_BITMAP(vsi_cfg, BIT(0)); + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:150:2: note: expanded from macro 'PPE_VSI_SET_MEMBER_PORT_BITMAP' + 150 | FIELD_MODIFY(PPE_VSI_W0_MEMBER_PORT_BITMAP, tbl_cfg, value) + | ^ +7 errors generated. Per-file breakdown --- /tmp/tmp.EdnhDP2ENC 2025-05-13 04:18:12.354928361 -0700 +++ /tmp/tmp.Ytc1jQXRTY 2025-05-13 04:18:12.356928345 -0700 @@ -1 +1 @@ - 5 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c + 7 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c