[PATCH] powerpc/powernv: Fix null pointer dereference in opal_powercap_init
    Michael Ellerman 
    patch-notifications at ellerman.id.au
       
    Thu Dec 21 21:38:20 AEDT 2023
    
    
  
On Sun, 26 Nov 2023 17:57:39 +0800, Kunwu Chan wrote:
> kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure.
> 
> 
Applied to powerpc/next.
[1/1] powerpc/powernv: Fix null pointer dereference in opal_powercap_init
      https://git.kernel.org/powerpc/c/e123015c0ba859cf48aa7f89c5016cc6e98e018d
cheers
    
    
More information about the Linuxppc-dev
mailing list