diff options
author | Kunwu Chan <[email protected]> | 2024-04-23 16:21:02 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-04-28 08:42:58 +0100 |
commit | 80164282b3620a3cb73de6ffda5592743e448d0e (patch) | |
tree | a2306bdf54251e37071d9e4421a945ccb374453b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b7fab1b69b9c4c152c185af8fb375810e70cb606 (diff) |
kselftest: arm64: Add a null pointer check
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 <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions