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 WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o 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/stmicro/stmmac/stmmac_platform.c: In function ‘stmmac_probe_config_dt’: ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:625:28: error: returning ‘struct clk *’ from a function with incompatible return type ‘struct plat_stmmacenet_data *’ [-Wincompatible-pointer-types] 625 | return plat->pclk; | ~~~~^~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:641:28: error: returning ‘struct reset_control *’ from a function with incompatible return type ‘struct plat_stmmacenet_data *’ [-Wincompatible-pointer-types] 641 | return plat->stmmac_rst; | ~~~~^~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:28: error: returning ‘struct reset_control *’ from a function with incompatible return type ‘struct plat_stmmacenet_data *’ [-Wincompatible-pointer-types] 646 | return plat->stmmac_ahb_rst; | ~~~~^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:437:15: warning: unused variable ‘ret’ [-Wunused-variable] 437 | void *ret; | ^~~ make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/stmicro/stmmac/stmmac_platform.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/stmicro/stmmac] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/stmicro] Error 2 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 New errors added --- /tmp/tmp.dpJpVbuB73 2024-08-22 01:40:21.901141454 -0700 +++ /tmp/tmp.WGtnymetRw 2024-08-22 01:40:33.783366473 -0700 @@ -8,9 +8,23 @@ -WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o -WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o -WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/mxc-clk.o -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/imx/clk-imxrt1050.o -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_simpleondemand.o -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_performance.o -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_powersave.o -WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/devfreq/governor_userspace.o +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c: In function ‘stmmac_probe_config_dt’: +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:625:28: error: returning ‘struct clk *’ from a function with incompatible return type ‘struct plat_stmmacenet_data *’ [-Wincompatible-pointer-types] + 625 | return plat->pclk; + | ~~~~^~~~~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:641:28: error: returning ‘struct reset_control *’ from a function with incompatible return type ‘struct plat_stmmacenet_data *’ [-Wincompatible-pointer-types] + 641 | return plat->stmmac_rst; + | ~~~~^~~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:28: error: returning ‘struct reset_control *’ from a function with incompatible return type ‘struct plat_stmmacenet_data *’ [-Wincompatible-pointer-types] + 646 | return plat->stmmac_ahb_rst; + | ~~~~^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:437:15: warning: unused variable ‘ret’ [-Wunused-variable] + 437 | void *ret; + | ^~~ +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/stmicro/stmmac/stmmac_platform.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/stmicro/stmmac] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/stmicro] Error 2 +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 Per-file breakdown --- /tmp/tmp.PH2TPCFTpt 2024-08-22 01:40:33.790366606 -0700 +++ /tmp/tmp.SIiWoD7B4i 2024-08-22 01:40:33.793366662 -0700 @@ -0,0 +1 @@ + 4 ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c