mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
The variables will be free on path err_phy_connect, it should return error code, or it will cause double free when calling ftgmac100_remove(). Fixes:bd466c3fb5("net/faraday: Support NCSI mode") Fixes:39bfab8844("net: ftgmac100: Add support for DT phy-handle property") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: David S. Miller <[email protected]>