aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorMartin Leung <[email protected]>2023-03-14 09:27:20 -0400
committerAlex Deucher <[email protected]>2023-03-31 11:18:54 -0400
commitf5442b35e69e42015ef3082008c0d85cdcc0ca05 (patch)
treed601326e68e5310b02d9949fd24395bf8ba8eb05 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parentbf224e00a9f54e2bf14b4d720a09c3d2f4aa4aa8 (diff)
drm/amd/display: fix double memory allocation
[Why & How] when trying to fix a nullptr dereference on VMs, accidentally doubly allocated memory for the non VM case. removed the extra link_srv creation since dc_construct_ctx is called in both VM and non VM cases Also added a proper fail check for if kzalloc fails Cc: [email protected] Cc: Mario Limonciello <[email protected]> Reviewed-by: Leo Ma <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Martin Leung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions