[PATCH] powerpc/crash: remove unnecessary NULL check before kvfree()

Michael Ellerman patch-notifications at ellerman.id.au
Wed May 8 00:41:13 AEST 2024


On Thu, 02 May 2024 23:50:40 +0530, Sourabh Jain wrote:
> Fix the following coccicheck build warning:
> 
> arch/powerpc/kexec/crash.c:488:2-8: WARNING: NULL check before some
> freeing functions is not needed.
> 
> 

Applied to powerpc/topic/kdump-hotplug.

[1/1] powerpc/crash: remove unnecessary NULL check before kvfree()
      https://git.kernel.org/powerpc/c/9803af291162dbca4b9773586a3f5c392f0dd974

cheers


More information about the Linuxppc-dev mailing list