[PATCH] powerpc/83xx: Add a null pointer check to mcu_gpiochip_add

Madhavan Srinivasan maddy at linux.ibm.com
Fri Nov 21 13:53:02 AEDT 2025


On Mon, 15 Jan 2024 17:43:30 +0800, Kunwu Chan wrote:
> kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure. Ensure the allocation was successful
> by checking the pointer validity.
> 
> 

Applied to powerpc/next.

[1/1] powerpc/83xx: Add a null pointer check to mcu_gpiochip_add
      https://git.kernel.org/powerpc/c/2617bd81ae54128e63e764c48935e572e3dee501

Thanks


More information about the Linuxppc-dev mailing list