[PATCH net 3/3] net: ethernet: mtk_eth_wed: add missing of_node_put()

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Mon Oct 17 02:55:04 PDT 2022


Il 17/10/22 05:51, Yang Yingliang ha scritto:
> The device_node pointer returned by of_parse_phandle() with refcount
> incremented, when finish using it, the refcount need be decreased.
> 
> Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the Linux-mediatek mailing list