summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-07-28 14:52:09 +0300
committerJakub Kicinski <kuba@kernel.org>2022-07-28 20:43:04 +0300
commit4d3d3a1b244fd54629a6b7047f39a7bbc8d11910 (patch)
tree86507bdbfcd1e69f12dcf756af11f3f9fb702dac /Documentation
parent85f0173df35e5462d89947135a6a5599c6c3ef6f (diff)
downloadlinux-4d3d3a1b244fd54629a6b7047f39a7bbc8d11910.tar.xz
stmmac: dwmac-mediatek: fix resource leak in probe
If mediatek_dwmac_clks_config() fails, then call stmmac_remove_config_dt() before returning. Otherwise it is a resource leak. Fixes: fa4b3ca60e80 ("stmmac: dwmac-mediatek: fix clock issue") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/YuJ4aZyMUlG6yGGa@kili Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions