Messages in this thread | ![/](/images/icornerl.gif) | | From | Michael Ellerman <> | Subject | Re: [PATCH] powerpc/powernv: Add a null pointer check to scom_debug_init_one | Date | Thu, 21 Dec 2023 21:38:20 +1100 |
| |
On Fri, 08 Dec 2023 16:59:37 +0800, Kunwu Chan wrote: > kasprintf() returns a pointer to dynamically allocated memory > which can be NULL upon failure. > Add a null pointer check, and release 'ent' to avoid memory leaks. > >
Applied to powerpc/next.
[1/1] powerpc/powernv: Add a null pointer check to scom_debug_init_one https://git.kernel.org/powerpc/c/9a260f2dd827bbc82cc60eb4f4d8c22707d80742
cheers
| ![\](/images/icornerr.gif) |