.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/netkit.c:778:32: error: too few arguments to function call, expected 5, have 4 777 | bpf_link_init(&nkl->link, BPF_LINK_TYPE_NETKIT, | ~~~~~~~~~~~~~ 778 | &netkit_link_lops, prog); | ^ ../include/linux/bpf.h:2534:6: note: 'bpf_link_init' declared here 2534 | void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2535 | const struct bpf_link_ops *ops, struct bpf_prog *prog, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2536 | enum bpf_attach_type attach_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/netkit.o] Error 1 make[5]: *** Waiting for unfinished jobs.... Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' ../drivers/net/ethernet/8390/pcnet_cs.c:1169:9: warning: variable 'xfer_count' set but not used [-Wunused-but-set-variable] 1169 | int xfer_count = count; | ^ 1 warning generated. In file included from ../drivers/net/ethernet/broadcom/b44.c:17: 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/huawei/hinic/hinic_ethtool.c:17: In file included from ../include/linux/pci.h:27: In file included from ../include/linux/mod_devicetable.h:14: In file included from ../include/linux/uuid.h:11: 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/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/myricom/myri10ge/myri10ge.c:43: In file included from ../include/linux/tcp.h:17: In file included from ../include/linux/skbuff.h:15: 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); | ^ ../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] 2 warnings generated. ../scripts/Makefile.build:287: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch ../drivers/net/ethernet/natsemi/ns83820.c:1704:6: warning: variable 'loops' set but not used [-Wunused-but-set-variable] 1704 | int loops = 0; | ^ 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. ../drivers/net/ethernet/ni/nixge.c:1271:12: warning: cast to smaller integer type 'enum nixge_version' from 'const void *' [-Wvoid-pointer-to-enum-cast] 1271 | version = (enum nixge_version)of_id->data; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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. 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/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. ../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. Warning: ../drivers/net/ethernet/sfc/ptp.c:204 Excess struct member 'valid' description in 'efx_ptp_timeset' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' ../scripts/Makefile.build:287: ../drivers/net/ethernet/ti/Makefile: cpsw_ale.o is added to multiple modules: ti_cpsw ti_cpsw_new ../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 Warning: ../drivers/most/most_usb.c:68 struct member 'dev' not described in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:68 Excess struct member 'kobj' description in 'most_dci_obj' Warning: ../drivers/most/most_usb.c:121 struct member 'dev' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'clear_work' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:121 struct member 'on_netinfo' not described in 'most_dev' Warning: ../drivers/most/most_usb.c:649 function parameter 'on_netinfo' not described in 'hdm_request_netinfo' ../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[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:554: drivers] Error 2 make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/netkit.c:778:32: error: too few arguments to function call, expected 5, have 4 777 | bpf_link_init(&nkl->link, BPF_LINK_TYPE_NETKIT, | ~~~~~~~~~~~~~ 778 | &netkit_link_lops, prog); | ^ ../include/linux/bpf.h:2534:6: note: 'bpf_link_init' declared here 2534 | void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2535 | const struct bpf_link_ops *ops, struct bpf_prog *prog, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2536 | enum bpf_attach_type attach_type); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[5]: *** [../scripts/Makefile.build:287: drivers/net/netkit.o] Error 1 make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... Warning: ../drivers/block/drbd/drbd_bitmap.c:1219 function parameter 'peer_device' not described in 'drbd_bm_read' Warning: ../drivers/block/drbd/drbd_bitmap.c:1231 function parameter 'peer_device' not described in 'drbd_bm_write' Warning: ../drivers/block/drbd/drbd_bitmap.c:1243 function parameter 'peer_device' not described in 'drbd_bm_write_all' Warning: ../drivers/block/drbd/drbd_bitmap.c:1270 function parameter 'peer_device' not described in 'drbd_bm_write_copy_pages' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'ack' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:121 function parameter 'acked' not described in 'tcp_lp_cong_avoid' Warning: ../net/ipv4/tcp_lp.c:271 function parameter 'sample' not described in 'tcp_lp_pkts_acked' make[3]: *** [../scripts/Makefile.build:554: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/home/nipa/bpf-next/wt-0/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/bpf-next/wt-0/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2