[PATCH 6.9 033/250] kselftest: arm64: Add a null pointer check