public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Nathan Lynch <nathanl@linux•ibm.com>
To: Markus Elfring <Markus.Elfring@web•de>
Cc: kernel-janitors@vger•kernel.org,
	LKML <linux-kernel@vger•kernel.org>,
	Oliver O'Halloran <oohall@gmail•com>,
	Allison Randal <allison@lohutok•net>,
	Greg Kroah-Hartman <gregkh@linuxfoundation•org>,
	Paul Mackerras <paulus@samba•org>,
	Thomas Gleixner <tglx@linutronix•de>,
	linuxppc-dev@lists•ozlabs.org,
	Frank Rowand <frank.rowand@sony•com>,
	Gen Zhang <blackgod016574@gmail•com>
Subject: Re: [PATCH 1/2] powerpc/pseries: Delete an unnecessary kfree() call in dlpar_store()
Date: Tue, 27 Aug 2019 09:26:19 -0500	[thread overview]
Message-ID: <878sresn04.fsf@linux.ibm.com> (raw)
In-Reply-To: <b46cc4ff-a14c-0c10-0c0c-95573a960178@web.de>

Markus Elfring <Markus.Elfring@web•de> writes:
> From: Markus Elfring <elfring@users•sourceforge.net>
> Date: Tue, 27 Aug 2019 13:34:02 +0200
>
> A null pointer would be passed to a call of the function “kfree”
> immediately after a call of the function “kstrdup” failed at one place.
> Remove this superfluous function call.
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users•sourceforge.net>

Acked-by: Nathan Lynch <nathanl@linux•ibm.com>

  reply	other threads:[~2019-08-27 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-27 12:40 [PATCH 0/2] PowerPC-pSeries: Adjustments for dlpar_store() Markus Elfring
2019-08-27 12:42 ` [PATCH 1/2] powerpc/pseries: Delete an unnecessary kfree() call in dlpar_store() Markus Elfring
2019-08-27 14:26   ` Nathan Lynch [this message]
2019-08-27 12:44 ` [PATCH 2/2] powerpc/pseries: Delete an error message for a failed string duplication " Markus Elfring
2019-08-27 14:27   ` Nathan Lynch
2021-02-03 11:40 ` [PATCH 0/2] PowerPC-pSeries: Adjustments for dlpar_store() Michael Ellerman

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=878sresn04.fsf@linux.ibm.com \
    --to=nathanl@linux$(echo .)ibm.com \
    --cc=Markus.Elfring@web$(echo .)de \
    --cc=allison@lohutok$(echo .)net \
    --cc=blackgod016574@gmail$(echo .)com \
    --cc=frank.rowand@sony$(echo .)com \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=kernel-janitors@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=oohall@gmail$(echo .)com \
    --cc=paulus@samba$(echo .)org \
    --cc=tglx@linutronix$(echo .)de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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