aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-04-26 22:48:11 +0100
committerAlex Deucher <[email protected]>2019-04-29 14:56:49 -0500
commit11f874c041f0476ec9fc44387478d3bbb3c74b73 (patch)
treea09b96b85ab56d0aac6f7107074f28754c19ca1f /scripts/gdb/linux/utils.py
parenta9a3c0da1427153e74a4ad97b1a897384a6b0404 (diff)
drm/amd/display: fix incorrect null check on pointer
Currently an allocation is being made but the allocation failure check is being performed on another pointer. Fix this by checking the correct pointer. Also use the normal kernel idiom for null pointer checks. Addresses-Coverity: ("Resource leak") Fixes: 43e3ac8389ef ("drm/amd/display: Add function to copy DC streams") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions