net: dsa: Add of_node_put() before break and return statements
…
Quoted 4 lines
Fix a potential memory leak in
mt7530.cby insertingof_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?
…
Quoted 7 lines
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
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek