[PATCH] arm64/sme: Fix NULL check after kzalloc

Catalin Marinas catalin.marinas at arm.com
Fri Apr 29 12:20:03 PDT 2022


On Tue, 26 Apr 2022 19:30:53 +0800, Wan Jiabing wrote:
> Fix following coccicheck error:
> ./arch/arm64/kernel/process.c:322:2-23: alloc with no test, possible model on line 326
> 
> Here should be dst->thread.sve_state.
> 
> 

Applied to arm64 (for-next/sme), thanks!

[1/1] arm64/sme: Fix NULL check after kzalloc
      https://git.kernel.org/arm64/c/2e29b9971ac5

-- 
Catalin




More information about the linux-arm-kernel mailing list