[PATCH] powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
    Michael Ellerman 
    patch-notifications at ellerman.id.au
       
    Thu Dec  7 23:38:31 AEDT 2023
    
    
  
On Wed, 22 Nov 2023 11:06:51 +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/xics: Check return value of kasprintf in icp_native_map_one_cpu
      https://git.kernel.org/powerpc/c/45b1ba7e5d1f6881050d558baf9bc74a2ae13930
cheers
    
    
More information about the Linuxppc-dev
mailing list