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 ../drivers/net/ethernet/freescale/xgmac_mdio.c:395:45: warning: variable 'res' is uninitialized when used here [-Wuninitialized] 395 | snprintf(bus->id, MII_BUS_ID_SIZE, "%pa", &res->start); | ^~~ ../drivers/net/ethernet/freescale/xgmac_mdio.c:375:22: note: initialize the variable 'res' to silence this warning 375 | struct resource *res; | ^ | = NULL 1 warning generated. 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/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 ../drivers/net/ethernet/freescale/xgmac_mdio.c:395:45: warning: variable 'res' is uninitialized when used here [-Wuninitialized] 395 | snprintf(bus->id, MII_BUS_ID_SIZE, "%pa", &res->start); | ^~~ ../drivers/net/ethernet/freescale/xgmac_mdio.c:375:22: note: initialize the variable 'res' to silence this warning 375 | struct resource *res; | ^ | = NULL 1 warning generated. New errors added --- /tmp/tmp.J1XZtrfPSm 2024-11-09 15:43:21.501041617 -0800 +++ /tmp/tmp.rKUO2IG05T 2024-11-09 15:44:31.222345895 -0800 @@ -3,0 +4,8 @@ +../drivers/net/ethernet/freescale/xgmac_mdio.c:395:45: warning: variable 'res' is uninitialized when used here [-Wuninitialized] + 395 | snprintf(bus->id, MII_BUS_ID_SIZE, "%pa", &res->start); + | ^~~ +../drivers/net/ethernet/freescale/xgmac_mdio.c:375:22: note: initialize the variable 'res' to silence this warning + 375 | struct resource *res; + | ^ + | = NULL +1 warning generated. Per-file breakdown --- /tmp/tmp.S5EhTCvE3Z 2024-11-09 15:45:20.972849454 -0800 +++ /tmp/tmp.eeMH3v2jRB 2024-11-09 15:45:20.976849414 -0800 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/freescale/xgmac_mdio.c