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

2024-05-07 Thread Michael Ellerman
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

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

2024-05-02 Thread Sourabh Jain
Fix the following coccicheck build warning: arch/powerpc/kexec/crash.c:488:2-8: WARNING: NULL check before some freeing functions is not needed. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202404261048.skfv5ddb-...@intel.com/ Cc: Michael Ellerman Cc: Stephen