========== build_clang - FAILED .pylintrc: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/tx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/xdp.o] Error 1 In file included from ../drivers/net/ethernet/intel/libeth/xsk.c:8: In file included from ../include/net/libeth/xsk.h:7: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/xsk.c:8: In file included from ../include/net/libeth/xsk.h:7: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/xsk.o] Error 1 make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel/libeth] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/ixgbevf/ethtool.c:9: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/intel/igc/igc_ethtool.c:5: In file included from ../include/linux/if_vlan.h:10: In file included from ../include/linux/netdevice.h:24: In file included from ../include/linux/timer.h:6: In file included from ../include/linux/ktime.h:25: In file included from ../include/linux/jiffies.h:10: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. In file included from ../drivers/net/ethernet/tehuti/tehuti.c:63: In file included from ../drivers/net/ethernet/tehuti/tehuti.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../drivers/net/ethernet/ti/tlan.c:2072:7: warning: variable 'def_tx' set but not used [-Wunused-but-set-variable] 2072 | u32 def_tx, crc, code; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.c:8: In file included from ../drivers/net/ethernet/qlogic/qlcnic/qlcnic.h:10: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new In file included from ../drivers/net/ethernet/via/via-velocity.c:37: In file included from ../include/linux/module.h:13: In file included from ../include/linux/stat.h:19: In file included from ../include/linux/time.h:60: In file included from ../include/linux/time32.h:13: In file included from ../include/linux/timex.h:67: In file included from ../arch/x86/include/asm/timex.h:5: In file included from ../arch/x86/include/asm/processor.h:19: In file included from ../arch/x86/include/asm/cpuid/api.h:57: In file included from ../arch/x86/include/asm/paravirt.h:21: In file included from ../include/linux/cpumask.h:12: In file included from ../include/linux/bitmap.h:13: In file included from ../include/linux/string.h:392: ../include/linux/fortify-string.h:580:4: warning: call to '__read_overflow2_field' declared with 'warning' attribute: detected read beyond size of field (2nd parameter); maybe use struct_group()? [-Wattribute-warning] 580 | __read_overflow2_field(q_size_field, size); | ^ 1 warning generated. ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sun/niu.c:4650:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] 4650 | u64 val; | ^ 1 warning generated. ../drivers/net/ethernet/apm/xgene/xgene_enet_main.c:2041:19: warning: cast to smaller integer type 'enum xgene_enet_id' from 'const void *' [-Wvoid-pointer-to-enum-cast] 2041 | pdata->enet_id = (enum xgene_enet_id)device_get_match_data(&pdev->dev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Warning: ../drivers/net/ethernet/sfc/siena/ptp.c:207 Excess struct member 'valid' description in 'efx_ptp_timeset' make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel] 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-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 .pylintrc: warning: ignored by one of the .gitignore files In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/tx.c:6: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/tx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: ../include/net/libeth/xdp.h:740:29: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ^ ../include/net/libeth/xdp.h:740:29: note: did you mean 'netmem_get_pp'? ../include/net/netmem.h:248:33: note: 'netmem_get_pp' declared here 248 | static inline struct page_pool *netmem_get_pp(netmem_ref netmem) | ^ In file included from ../drivers/net/ethernet/intel/libeth/xdp.c:8: ../include/net/libeth/xdp.h:740:54: error: member reference type 'int' is not a pointer 740 | dma_sync_single_for_device(__netmem_get_pp(netmem)->p.dev, desc.addr, | ~~~~~~~~~~~~~~~~~~~~~~~ ^ ../include/net/libeth/xdp.h:1227:28: error: call to undeclared function '__netmem_get_pp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^ ../include/net/libeth/xdp.h:1227:28: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct page_pool *' [-Wint-conversion] 1227 | page_pool_put_full_netmem(__netmem_get_pp(netmem), netmem, napi); | ^~~~~~~~~~~~~~~~~~~~~~~ ../include/net/page_pool/helpers.h:369:64: note: passing argument to parameter 'pool' here 369 | static inline void page_pool_put_full_netmem(struct page_pool *pool, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/intel/libeth/xdp.o] Error 1 make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel/libeth] Error 2 make[7]: *** Waiting for unfinished jobs.... make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/intel] Error 2 make[6]: *** Waiting for unfinished jobs.... ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new 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[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2