From: Markus Elfring <Markus.Elfring@web.de>
To: Yi Wang <wang.yi59@zte.com.cn>,
Liao Pingfang <liao.pingfang@zte.com.cn>,
linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
Russell King <linux@armlinux.org.uk>,
Wang Liang <wang.liang82@zte.com.cn>,
Xue Zhihong <xue.zhihong@zte.com.cn>
Subject: Re: [PATCH v2] ARM: milbeaut: Add missing of_node_put() call in m10v_smp_init()
Date: Sat, 25 Jul 2020 14:02:55 +0200 [thread overview]
Message-ID: <e0092582-6fb6-e374-e130-232002c908e7@web.de> (raw)
> 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
reply other threads:[~2020-07-25 12:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e0092582-6fb6-e374-e130-232002c908e7@web.de \
--to=markus.elfring@web.de \
--cc=kernel-janitors@vger.kernel.org \
--cc=liao.pingfang@zte.com.cn \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=wang.liang82@zte.com.cn \
--cc=wang.yi59@zte.com.cn \
--cc=xue.zhihong@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox