[PATCH v3] net: dsa: Add of_node_put() before break and return statements
Markus Elfring
Markus.Elfring at web.de
Mon Aug 24 02:44:35 EDT 2020
…
> Fix a potential memory leak in mt7530.c by inserting of_node_put()
> before the break and return statements.
>
> Issue found with Coccinelle.
Would you like to point any specific SmPL script out for such a source code analysis?
…
> Changes in v3:
> - Correct syntax errors
> - Modify commit message
>
> ---
>
> Signed-off-by: …
* Please avoid a duplication for this tag.
* The patch version descriptions should be specified besides the diffstat.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=d012a7190fc1fd72ed48911e77ca97ba4521bccd#n753
Regards,
Markus
More information about the Linux-mediatek
mailing list