[PATCH] kselftest: arm64: Add a null pointer check

Will Deacon will at kernel.org
Sun Apr 28 01:59:13 PDT 2024


On Tue, 23 Apr 2024 16:21:02 +0800, Kunwu Chan wrote:
> There is a 'malloc' call, which can be unsuccessful.
> This patch will add the malloc failure checking
> to avoid possible null dereference and give more information
> about test fail reasons.
> 
> 

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

[1/1] kselftest: arm64: Add a null pointer check
      https://git.kernel.org/arm64/c/80164282b362

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list