* Re: [PATCH v2] ARM: milbeaut: Add missing of_node_put() call in m10v_smp_init()
@ 2020-07-25 12:02 Markus Elfring
0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2020-07-25 12:02 UTC (permalink / raw)
To: Yi Wang, Liao Pingfang, linux-arm-kernel
Cc: linux-kernel, kernel-janitors, Russell King, Wang Liang,
Xue Zhihong
> The variable np in function m10v_smp_init takes the return value
> of of_find_compatible_node, which gets a node but does not put it.
Such information is useful.
> If this node is not put it may cause a memory leak.
Is the reference management generally improvable for this function implementation?
Will the tag “Fixes” become helpful for the commit message?
Regards,
Markus
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-25 12:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-25 12:02 [PATCH v2] ARM: milbeaut: Add missing of_node_put() call in m10v_smp_init() Markus Elfring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).