../drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ‘ena_init_rx_cpu_rmap’: ../drivers/net/ethernet/amazon/ena/ena_netdev.c:165:16: error: too few arguments to function ‘netif_enable_cpu_rmap’ 165 | return netif_enable_cpu_rmap(adapter->netdev); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/net/inet_sock.h:19, from ../include/net/ip.h:29, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:16: ../include/linux/netdevice.h:2780:5: note: declared here 2780 | int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/amazon/ena/ena_netdev.c:169:1: error: control reaches end of non-void function [-Werror=return-type] 169 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[5]: *** Waiting for unfinished jobs.... ../drivers/net/usb/lan78xx.c: In function ‘lan7801_phy_init’: ../drivers/net/usb/lan78xx.c:2514:13: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 2514 | int ret; | ^~~ make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 ../drivers/net/ethernet/amazon/ena/ena_netdev.c: In function ‘ena_init_rx_cpu_rmap’: ../drivers/net/ethernet/amazon/ena/ena_netdev.c:165:16: error: too few arguments to function ‘netif_enable_cpu_rmap’ 165 | return netif_enable_cpu_rmap(adapter->netdev); | ^~~~~~~~~~~~~~~~~~~~~ In file included from ../include/net/inet_sock.h:19, from ../include/net/ip.h:29, from ../drivers/net/ethernet/amazon/ena/ena_netdev.c:16: ../include/linux/netdevice.h:2780:5: note: declared here 2780 | int netif_enable_cpu_rmap(struct net_device *dev, unsigned int num_irqs); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/amazon/ena/ena_netdev.c:169:1: error: control reaches end of non-void function [-Werror=return-type] 169 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/amazon/ena/ena_netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon/ena] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/amazon] Error 2 make[6]: *** Waiting for unfinished jobs.... ../scripts/Makefile.build:194: ../drivers/net/ethernet/freescale/dpaa2/Makefile: dpaa2-mac.o is added to multiple modules: fsl-dpaa2-eth fsl-dpaa2-switch make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1993: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2