kernel_samsung_a53x/tools/testing
Kunwu Chan c07c4f8a9f kselftest: arm64: Add a null pointer check
[ Upstream commit 80164282b3620a3cb73de6ffda5592743e448d0e ]

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.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Link: https://lore.kernel.org/r/20240423082102.2018886-1-chentao@kylinos.cn
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:06 +01:00
..
fault-injection Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ktest ktest: force $buildonly = 1 for 'make_warnings_file' test type 2024-11-19 09:23:15 +01:00
kunit Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kunit_mainline Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nvdimm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
radix-tree Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
scatterlist Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
selftests kselftest: arm64: Add a null pointer check 2024-11-19 14:19:06 +01:00
vsock Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00