========== build_clang - FAILED 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:625:10: error: incompatible pointer types returning 'struct clk *' from a function with result type 'struct plat_stmmacenet_data *' [-Werror,-Wincompatible-pointer-types] 625 | return plat->pclk; | ^~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:641:10: error: incompatible pointer types returning 'struct reset_control *' from a function with result type 'struct plat_stmmacenet_data *' [-Werror,-Wincompatible-pointer-types] 641 | return plat->stmmac_rst; | ^~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:10: error: incompatible pointer types returning 'struct reset_control *' from a function with result type 'struct plat_stmmacenet_data *' [-Werror,-Wincompatible-pointer-types] 646 | return plat->stmmac_ahb_rst; | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:437:8: warning: unused variable 'ret' [-Wunused-variable] 437 | void *ret; | ^~~ 1 warning and 3 errors generated. 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.NQUN1NzeP3 2024-08-22 01:47:23.326104323 -0700 +++ /tmp/tmp.pBsZxrjTbm 2024-08-22 01:48:13.212032223 -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:625:10: error: incompatible pointer types returning 'struct clk *' from a function with result type 'struct plat_stmmacenet_data *' [-Werror,-Wincompatible-pointer-types] + 625 | return plat->pclk; + | ^~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:641:10: error: incompatible pointer types returning 'struct reset_control *' from a function with result type 'struct plat_stmmacenet_data *' [-Werror,-Wincompatible-pointer-types] + 641 | return plat->stmmac_rst; + | ^~~~~~~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:10: error: incompatible pointer types returning 'struct reset_control *' from a function with result type 'struct plat_stmmacenet_data *' [-Werror,-Wincompatible-pointer-types] + 646 | return plat->stmmac_ahb_rst; + | ^~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:437:8: warning: unused variable 'ret' [-Wunused-variable] + 437 | void *ret; + | ^~~ +1 warning and 3 errors generated. +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.q9o7IERWqJ 2024-08-22 01:48:13.228032520 -0700 +++ /tmp/tmp.xRAbNaBYDg 2024-08-22 01:48:13.255033022 -0700 @@ -0,0 +1 @@ + 4 ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c