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

From: Nathan Lynch
Date: Tue Aug 27 2019 - 10:26:55 EST


Markus Elfring <Markus.Elfring@xxxxxx> writes:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxxxxxxxx>

Acked-by: Nathan Lynch <nathanl@xxxxxxxxxxxxx>