Messages in this thread | | | From | Nathan Lynch <> | Subject | Re: [PATCH 1/2] powerpc/pseries: Delete an unnecessary kfree() call in dlpar_store() | Date | Tue, 27 Aug 2019 09:26:19 -0500 |
| |
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>
| |