[PATCH] media: platform: mtk-mdp3: Fix resource leaks in mdp_comp_config()?

Markus Elfring Markus.Elfring at web.de
Mon Jun 12 10:06:32 PDT 2023


I would find an other patch subject more appropriate.


> for_each_child_of_node should have of_node_put() avoid resource leaks.

Please replace this sentence by an imperative change suggestion.

See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.4-rc6#n94

Regards,
Markus



More information about the Linux-mediatek mailing list