========== build_clang - FAILED ../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:39:2: note: expanded from macro 'PPE_SERVICE_SET_BYPASS_BITMAP' 39 | FIELD_MODIFY(PPE_SERVICE_W0_BYPASS_BITMAP, tbl_cfg, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1194:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1194 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:214:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' 214 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1286:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1286 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:308:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' 308 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) | ^ 3 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:39:2: note: expanded from macro 'PPE_SERVICE_SET_BYPASS_BITMAP' 39 | 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:111:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_RX_CNT_EN' 111 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W1_RX_CNT_EN, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1232:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1232 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:261:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' 261 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1324:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1324 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:355:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' 355 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1669:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1669 | PPE_MRU_MTU_CTRL_SET_MRU_CMD(mru_mtu_val, PPE_ACTION_DROP); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:105:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_MRU_CMD' 105 | 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[6]: *** Waiting for unfinished jobs.... 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.6pFuN2n8Ho 2025-05-13 04:15:55.446009205 -0700 +++ /tmp/tmp.G3iIpx0t0Z 2025-05-13 04:16:13.767864560 -0700 @@ -7,2 +7,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1194:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 1194 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); +../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); @@ -10,2 +10,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:214:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' - 214 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:111:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_RX_CNT_EN' + 111 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W1_RX_CNT_EN, (tbl_cfg) + 0x1, value) @@ -13,2 +13,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1286:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 1286 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1232:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1232 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); @@ -16,2 +16,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:308:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' - 308 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:261:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' + 261 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) @@ -19 +19,13 @@ -3 errors generated. +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1324:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1324 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:355:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' + 355 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:1669:3: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 1669 | PPE_MRU_MTU_CTRL_SET_MRU_CMD(mru_mtu_val, PPE_ACTION_DROP); + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:105:2: note: expanded from macro 'PPE_MRU_MTU_CTRL_SET_MRU_CMD' + 105 | FIELD_MODIFY(PPE_MRU_MTU_CTRL_W0_MRU_CMD, tbl_cfg, value) + | ^ +5 errors generated. @@ -22,0 +35 @@ +make[6]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.xqOuTIxVJB 2025-05-13 04:16:13.775864496 -0700 +++ /tmp/tmp.SAwlHuH2Xz 2025-05-13 04:16:13.777864481 -0700 @@ -1 +1 @@ - 3 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c + 5 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c