diff options
author | 2023-03-22 18:45:28 +0400 | |
---|---|---|
committer | 2023-03-24 14:21:16 -0700 | |
commit | 735b0e0f2d001b7ed9486db84453fb860e764a4d (patch) | |
tree | 99ec9cd1dfcf09df13fbdbed01230cde73347e9f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: selftests: Adjust VM's initial stack address to align with SysV ABI spec (diff) | |
download | linux-rng-735b0e0f2d001b7ed9486db84453fb860e764a4d.tar.xz linux-rng-735b0e0f2d001b7ed9486db84453fb860e764a4d.zip |
KVM: selftests: Add 'malloc' failure check in vcpu_save_state
There is a 'malloc' call in vcpu_save_state function, 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: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230322144528.704077-1-ivan.orlov0322@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions