aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDavid Gow <[email protected]>2024-02-21 17:27:21 +0800
committerShuah Khan <[email protected]>2024-02-27 16:27:17 -0700
commit689a930b93c5c20294df5da0407df361c5412eac (patch)
tree5751ef8a4a4ec8d139684c105741765d6ea441d3 /tools/perf/scripts/python/export-to-sqlite.py
parentff3b96f2c9e5c24fca12239cd519a8a18569e687 (diff)
drm/xe/tests: Fix printf format specifiers in xe_migrate test
KUNIT_FAIL() is used to fail the xe_migrate test when an error occurs. However, there's a mismatch in the format specifier: '%li' is used to log 'err', which is an 'int'. Use '%i' instead of '%li', and for the case where we're printing an error pointer, just use '%pe', instead of extracting the error code manually with PTR_ERR(). (This also results in a nicer output when the error code is known.) Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs") Signed-off-by: David Gow <[email protected]> Tested-by: Guenter Roeck <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Acked-by: Thomas Hellström <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions