aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorJohn Harrison <[email protected]>2023-08-02 11:49:40 -0700
committerJohn Harrison <[email protected]>2023-08-10 16:02:01 -0700
commit788568fad4015406fa84fc86cefbef7c470c7c1f (patch)
tree89ce6fa7c8ce60024817e4fae081157968fa2ff1 /tools/perf/scripts/python/Perf-Trace-Util/lib
parentf1530f912ed87c37cbc803e1fc6c17849fa1514a (diff)
drm/i915/guc: Fix potential null pointer deref in GuC 'steal id' test
It was noticed that if the very first 'stealing' request failed to create for some reason then the 'steal all ids' loop would immediately exit with 'last' still being NULL. The test would attempt to continue but using a null pointer. Fix that by aborting the test if it fails to create any requests at all. Signed-off-by: John Harrison <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions