========== build_clang - FAILED ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:122:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:54:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' 54 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) | ^ 1 error 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 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:179:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:64:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' 64 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:271:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); | ^ ../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:137:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' 137 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) | ^ 2 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.ipk4qYnfsU 2025-05-13 04:13:18.305249782 -0700 +++ /tmp/tmp.0z2MS2BxmZ 2025-05-13 04:13:37.337099533 -0700 @@ -1,2 +1,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:122:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 122 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:179:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 179 | PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); @@ -4,2 +4,2 @@ -../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:54:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' - 54 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:64:2: note: expanded from macro 'PPE_BM_PORT_FC_SET_WEIGHT' + 64 | FIELD_MODIFY(PPE_BM_PORT_FC_W1_WEIGHT, (tbl_cfg) + 0x1, value) @@ -7 +7,7 @@ -1 error generated. +../drivers/net/ethernet/qualcomm/ppe/ppe_config.c:271:2: error: call to undeclared function 'FIELD_MODIFY'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 271 | PPE_AC_GRP_SET_BUF_LIMIT(group_cfg, ipq9574_ppe_qm_group_config); + | ^ +../drivers/net/ethernet/qualcomm/ppe/ppe_regs.h:137:2: note: expanded from macro 'PPE_AC_GRP_SET_BUF_LIMIT' + 137 | FIELD_MODIFY(PPE_AC_GRP_W1_BUF_LIMIT, (tbl_cfg) + 0x1, value) + | ^ +2 errors generated. Per-file breakdown --- /tmp/tmp.xdBOYvZ6IY 2025-05-13 04:13:37.344099478 -0700 +++ /tmp/tmp.l9klNk6MZi 2025-05-13 04:13:37.346099462 -0700 @@ -1 +1 @@ - 1 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c + 2 ../drivers/net/ethernet/qualcomm/ppe/ppe_config.c