========== build_clang - FAILED .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2600:3: error: expected expression 2600 | struct stmmac_metadata_request meta_req; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2611:4: error: 'break' statement not in loop or switch statement 2611 | break; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2615:4: error: 'break' statement not in loop or switch statement 2615 | break; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2621:4: error: 'continue' statement not in loop statement 2621 | continue; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2660:3: error: use of undeclared identifier 'meta_req' 2660 | meta_req.priv = priv; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2661:3: error: use of undeclared identifier 'meta_req' 2661 | meta_req.tx_desc = tx_desc; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2662:3: error: use of undeclared identifier 'meta_req' 2662 | meta_req.set_ic = &set_ic; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2663:3: error: use of undeclared identifier 'meta_req' 2663 | meta_req.tbs = tx_q->tbs; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2664:3: error: use of undeclared identifier 'meta_req' 2664 | meta_req.edesc = &tx_q->dma_entx[entry]; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2666:7: error: use of undeclared identifier 'meta_req'; did you mean 'net_eq'? 2666 | &meta_req); | ^~~~~~~~ | net_eq ../include/net/net_namespace.h:292:5: note: 'net_eq' declared here 292 | int net_eq(const struct net *net1, const struct net *net2) | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:25: error: expected parameter declarator 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:25: error: expected ')' ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:24: note: to match this '(' 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ | int ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ | void ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Werror,-Wdeprecated-non-prototype] 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../include/linux/u64_stats_sync.h:181:20: note: conflicting prototype is here 181 | static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: conflicting types for 'u64_stats_update_begin' 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../include/linux/u64_stats_sync.h:181:20: note: previous definition is here 181 | static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:16: error: expected parameter declarator 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:16: error: expected ')' ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:15: note: to match this '(' 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); | ^ | int fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/stmicro/stmmac/stmmac_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/stmicro/stmmac] Error 2 make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/stmicro] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:554: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:554: 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 .pylintrc: warning: ignored by one of the .gitignore files .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2600:3: error: expected expression 2600 | struct stmmac_metadata_request meta_req; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2611:4: error: 'break' statement not in loop or switch statement 2611 | break; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2615:4: error: 'break' statement not in loop or switch statement 2615 | break; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2621:4: error: 'continue' statement not in loop statement 2621 | continue; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2660:3: error: use of undeclared identifier 'meta_req' 2660 | meta_req.priv = priv; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2661:3: error: use of undeclared identifier 'meta_req' 2661 | meta_req.tx_desc = tx_desc; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2662:3: error: use of undeclared identifier 'meta_req' 2662 | meta_req.set_ic = &set_ic; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2663:3: error: use of undeclared identifier 'meta_req' 2663 | meta_req.tbs = tx_q->tbs; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2664:3: error: use of undeclared identifier 'meta_req' 2664 | meta_req.edesc = &tx_q->dma_entx[entry]; | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2666:7: error: use of undeclared identifier 'meta_req'; did you mean 'net_eq'? 2666 | &meta_req); | ^~~~~~~~ | net_eq ../include/net/net_namespace.h:292:5: note: 'net_eq' declared here 292 | int net_eq(const struct net *net1, const struct net *net2) | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:25: error: expected parameter declarator 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:25: error: expected ')' ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:24: note: to match this '(' 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ | int ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ | void ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Werror,-Wdeprecated-non-prototype] 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../include/linux/u64_stats_sync.h:181:20: note: conflicting prototype is here 181 | static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: conflicting types for 'u64_stats_update_begin' 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); | ^ ../include/linux/u64_stats_sync.h:181:20: note: previous definition is here 181 | static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:16: error: expected parameter declarator 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:16: error: expected ')' ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:15: note: to match this '(' 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); | ^ ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); | ^ | int fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/stmicro/stmmac/stmmac_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/stmicro/stmmac] Error 2 make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/stmicro] Error 2 make[5]: *** [../scripts/Makefile.build:554: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:554: 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.irIwzk3c2R 2025-07-22 07:00:49.163090363 -0700 +++ /tmp/tmp.KkNEA0gJEG 2025-07-22 07:03:59.323208123 -0700 @@ -1,0 +2,84 @@ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2600:3: error: expected expression + 2600 | struct stmmac_metadata_request meta_req; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2611:4: error: 'break' statement not in loop or switch statement + 2611 | break; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2615:4: error: 'break' statement not in loop or switch statement + 2615 | break; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2621:4: error: 'continue' statement not in loop statement + 2621 | continue; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2660:3: error: use of undeclared identifier 'meta_req' + 2660 | meta_req.priv = priv; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2661:3: error: use of undeclared identifier 'meta_req' + 2661 | meta_req.tx_desc = tx_desc; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2662:3: error: use of undeclared identifier 'meta_req' + 2662 | meta_req.set_ic = &set_ic; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2663:3: error: use of undeclared identifier 'meta_req' + 2663 | meta_req.tbs = tx_q->tbs; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2664:3: error: use of undeclared identifier 'meta_req' + 2664 | meta_req.edesc = &tx_q->dma_entx[entry]; + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2666:7: error: use of undeclared identifier 'meta_req'; did you mean 'net_eq'? + 2666 | &meta_req); + | ^~~~~~~~ + | net_eq +../include/net/net_namespace.h:292:5: note: 'net_eq' declared here + 292 | int net_eq(const struct net *net1, const struct net *net2) + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:25: error: expected parameter declarator + 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:25: error: expected ')' +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:24: note: to match this '(' + 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] + 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); + | ^ + | int +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] + 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); + | ^ + | void +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Werror,-Wdeprecated-non-prototype] + 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); + | ^ +../include/linux/u64_stats_sync.h:181:20: note: conflicting prototype is here + 181 | static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2685:2: error: conflicting types for 'u64_stats_update_begin' + 2685 | u64_stats_update_begin(&txq_stats->napi_syncp); + | ^ +../include/linux/u64_stats_sync.h:181:20: note: previous definition is here + 181 | static inline void u64_stats_update_begin(struct u64_stats_sync *syncp) + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:16: error: expected parameter declarator + 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:16: error: expected ')' +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:15: note: to match this '(' + 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); + | ^ +../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:2686:2: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] + 2686 | u64_stats_add(&txq_stats->napi.tx_set_ic_bit, tx_set_ic_bit); + | ^ + | int +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/stmicro/stmmac/stmmac_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/stmicro/stmmac] Error 2 +make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/stmicro] Error 2 +make[5]: *** [../scripts/Makefile.build:554: drivers/net/ethernet] Error 2 +make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:554: 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.QHqrIBjtaf 2025-07-22 07:03:59.340208001 -0700 +++ /tmp/tmp.45VZV1oCXC 2025-07-22 07:03:59.356207886 -0700 @@ -0,0 +1 @@ + 19 ../drivers/net/ethernet/stmicro/stmmac/stmmac_main.c