[PATCH 1/2] powerpc/pseries: Delete an unnecessary kfree() call in dlpar_store()

Nathan Lynch nathanl at linux.ibm.com
Wed Aug 28 00:26:19 AEST 2019


Markus Elfring <Markus.Elfring at web.de> writes:
> From: Markus Elfring <elfring at 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 at users.sourceforge.net>

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


More information about the Linuxppc-dev mailing list