summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorKrzysztof Karas <krzysztof.karas@intel.com>2025-09-09 12:09:28 +0000
committerAndi Shyti <andi.shyti@linux.intel.com>2025-09-15 13:41:32 +0200
commitf4d4097a036ab1ec6bc8154160c49ab9a0a92895 (patch)
treecd2059a087fde9d77be07428ac258173169c2dfd /tools/docs/lib/parse_data_structs.py
parentba391a102ec11ab7f5b249e46dcf61ef836a57e7 (diff)
drm/i915/gem: Avoid accessing uninitialized context in emit_rpcs_query()
Following the error path in that function may lead to usage of uninitialized struct i915_gem_ww_ctx object, so move call to i915_gem_ww_ctx_init() a bit earlier. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Sebastian Brzezinka <sebastian.brzezinka@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://lore.kernel.org/r/casutxyfjv7o4ivadvbich2sq2dt22btc5wcke55r56ptgxx2h@lv7hnxrqw5rq
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions