[PATCH v2] memory: mtk-smi: add missing put_device() call in mtk_smi_device_link_common

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Mon Jun 6 02:16:46 PDT 2022


On 01/06/2022 14:01, Miaoqian Lin wrote:
> The reference taken by 'of_find_device_by_node()' must be released when
> not needed anymore.
> Add the corresponding 'put_device()' in the error handling paths.
> 
> Fixes: 4740475 ("memory: mtk-smi: Add device link for smi-sub-common")

This is not correct SHA. Read:
Documentation/process/submitting-patches.rst


Best regards,
Krzysztof



More information about the Linux-mediatek mailing list