diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2024-04-04 17:02:09 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-04-12 14:40:07 +1000 |
commit | 210cfef579260ed6c3b700e7baeae51a5e183f43 (patch) | |
tree | 90ab3030631136e27e7f43b8bb9ff30bc0b792de /tools/perf/scripts/python/flamegraph.py | |
parent | 69630926011c1f7170a465b7b5c228deb66e9372 (diff) |
selftests/powerpc/papr-vpd: Fix missing variable initialization
The "close handle without consuming VPD" testcase has inconsistent
results because it fails to initialize the location code object it
passes to ioctl() to create a VPD handle. Initialize the location code
to the empty string as intended.
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Fixes: 9118c5d32bdd ("powerpc/selftests: Add test for papr-vpd")
Reported-by: Geetika Moolchandani <geetika@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240404-papr-vpd-test-uninit-lc-v2-1-37bff46c65a5@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions