From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Wan Jiabing <wanjiabing@vivo.com>,
linux-kernel@vger.kernel.org, Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Lakshmi Ramasubramanian <nramas@linux.microsoft.com>,
Sourabh Jain <sourabhjain@linux.ibm.com>,
Hari Bathini <hbathini@linux.ibm.com>,
linuxppc-dev@lists.ozlabs.org, Rob Herring <robh@kernel.org>,
Thiago Jung Bauermann <bauerman@linux.ibm.com>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: kael_w@yeah.net
Subject: Re: [PATCH] powerpc/kexec_file: Add of_node_put() before goto
Date: Tue, 02 Nov 2021 21:11:33 +1100 [thread overview]
Message-ID: <163584789386.1845480.15708665136918587423.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20211018015418.10182-1-wanjiabing@vivo.com>
On Sun, 17 Oct 2021 21:54:16 -0400, Wan Jiabing wrote:
> Fix following coccicheck warning:
> ./arch/powerpc/kexec/file_load_64.c:698:1-22: WARNING: Function
> for_each_node_by_type should have of_node_put() before goto
>
> Early exits from for_each_node_by_type should decrement the
> node reference counter.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/kexec_file: Add of_node_put() before goto
https://git.kernel.org/powerpc/c/7453f501d443c7febf48809ee1c530b64d625c59
cheers
prev parent reply other threads:[~2021-11-02 11:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 1:54 [PATCH] powerpc/kexec_file: Add of_node_put() before goto Wan Jiabing
2021-10-18 7:07 ` Hari Bathini
2021-11-02 10:11 ` Michael Ellerman [this message]
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=163584789386.1845480.15708665136918587423.b4-ty@ellerman.id.au \
--to=patch-notifications@ellerman.id.au \
--cc=bauerman@linux.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=hbathini@linux.ibm.com \
--cc=kael_w@yeah.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=nramas@linux.microsoft.com \
--cc=paulus@samba.org \
--cc=robh@kernel.org \
--cc=sourabhjain@linux.ibm.com \
--cc=wanjiabing@vivo.com \
/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;
as well as URLs for NNTP newsgroup(s).