Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 646 | if (rc < 0) { | ^~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:687:9: note: uninitialized use occurs here 687 | return ret; | ^~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:2: note: remove the 'if' if its condition is always false 646 | if (rc < 0) { | ^~~~~~~~~~~~~ 647 | dev_err(&pdev->dev, "Cannot enable pclk: %d\n", rc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 648 | goto error_pclk_get; | ~~~~~~~~~~~~~~~~~~~~ 649 | } | ~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:436:11: note: initialize the variable 'ret' to silence this warning 436 | void *ret; | ^ | = NULL 1 warning generated. Documentation/.renames.txt: warning: ignored by one of the .gitignore files Documentation/.renames.txt: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 646 | if (rc < 0) { | ^~~~~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:687:9: note: uninitialized use occurs here 687 | return ret; | ^~~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:2: note: remove the 'if' if its condition is always false 646 | if (rc < 0) { | ^~~~~~~~~~~~~ 647 | dev_err(&pdev->dev, "Cannot enable pclk: %d\n", rc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 648 | goto error_pclk_get; | ~~~~~~~~~~~~~~~~~~~~ 649 | } | ~ ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:436:11: note: initialize the variable 'ret' to silence this warning 436 | void *ret; | ^ | = NULL 1 warning generated. New errors added --- /tmp/tmp.ZRnMERnuLn 2025-11-13 05:48:20.204179662 -0800 +++ /tmp/tmp.bzAJZtff4P 2025-11-13 05:49:31.313443961 -0800 @@ -1,0 +2,20 @@ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:6: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] + 646 | if (rc < 0) { + | ^~~~~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:687:9: note: uninitialized use occurs here + 687 | return ret; + | ^~~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:646:2: note: remove the 'if' if its condition is always false + 646 | if (rc < 0) { + | ^~~~~~~~~~~~~ + 647 | dev_err(&pdev->dev, "Cannot enable pclk: %d\n", rc); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 648 | goto error_pclk_get; + | ~~~~~~~~~~~~~~~~~~~~ + 649 | } + | ~ +../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:436:11: note: initialize the variable 'ret' to silence this warning + 436 | void *ret; + | ^ + | = NULL +1 warning generated. Per-file breakdown --- /tmp/tmp.GoH3AVSrcK 2025-11-13 05:50:26.905868799 -0800 +++ /tmp/tmp.IdZbWLwyML 2025-11-13 05:50:26.909868758 -0800 @@ -0,0 +1 @@ + 2 ../drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c