tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5721:7: error: initializing 'u32 *' (aka 'unsigned int *') with an expression of type 'const u32 *' (aka 'const unsigned int *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 5721 | u32 *rss_context = &rxfh->rss_context; | ^ ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5724:37: error: passing 'const struct ethtool_rxfh_param *' to parameter of type 'struct ethtool_rxfh_param *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 5724 | if (!mvpp2_ethtool_rxfh_okay(port, rxfh)) | ^~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5700:36: note: passing argument to parameter 'rxfh' here 5700 | struct ethtool_rxfh_param *rxfh) | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5744:37: error: passing 'const struct ethtool_rxfh_param *' to parameter of type 'struct ethtool_rxfh_param *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 5744 | if (!mvpp2_ethtool_rxfh_okay(port, rxfh)) | ^~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5700:36: note: passing argument to parameter 'rxfh' here 5700 | struct ethtool_rxfh_param *rxfh) | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5815:25: error: use of undeclared identifier 'mvpp2_delete_rxfh_context' 5815 | .delete_rxfh_context = mvpp2_delete_rxfh_context, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/mvpp2/mvpp2_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/mvpp2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 make[6]: *** Waiting for unfinished jobs.... 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.h:62: 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:374: ../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.h:62: 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:374: ../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:244: ../drivers/net/ethernet/ti/Makefile: cpsw_ethtool.o is added to multiple modules: ti_cpsw ti_cpsw_new ../scripts/Makefile.build:244: ../drivers/net/ethernet/ti/Makefile: cpsw_priv.o is added to multiple modules: ti_cpsw ti_cpsw_new ../drivers/net/ethernet/sfc/ptp.c:205: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' ../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/sfc/siena/ptp.c:208: warning: Excess struct member 'valid' description in 'efx_ptp_timeset' make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2 tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5721:7: error: initializing 'u32 *' (aka 'unsigned int *') with an expression of type 'const u32 *' (aka 'const unsigned int *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 5721 | u32 *rss_context = &rxfh->rss_context; | ^ ~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5724:37: error: passing 'const struct ethtool_rxfh_param *' to parameter of type 'struct ethtool_rxfh_param *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 5724 | if (!mvpp2_ethtool_rxfh_okay(port, rxfh)) | ^~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5700:36: note: passing argument to parameter 'rxfh' here 5700 | struct ethtool_rxfh_param *rxfh) | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5744:37: error: passing 'const struct ethtool_rxfh_param *' to parameter of type 'struct ethtool_rxfh_param *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 5744 | if (!mvpp2_ethtool_rxfh_okay(port, rxfh)) | ^~~~ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5700:36: note: passing argument to parameter 'rxfh' here 5700 | struct ethtool_rxfh_param *rxfh) | ^ ../drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c:5814:25: error: use of undeclared identifier 'mvpp2_delete_rxfh_context' 5814 | .delete_rxfh_context = mvpp2_delete_rxfh_context, | ^ 4 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/mvpp2/mvpp2_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/mvpp2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 make[6]: *** Waiting for unfinished jobs.... ../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. make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:1925: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:224: __sub-make] Error 2 make: *** [Makefile:224: __sub-make] Error 2