aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <[email protected]>2016-08-21 21:06:06 +0000
committerGerd Hoffmann <[email protected]>2016-09-20 12:25:39 +0000
commitb28c69dd3d563676db079a678a2deabf37461fbf (patch)
tree5042c64082bd131f1ead5e54d681862c9e994e09 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm/qxl: reapply cursor after SetCrtc calls (diff)
downloadkernel-b28c69dd3d563676db079a678a2deabf37461fbf.tar.gz
kernel-b28c69dd3d563676db079a678a2deabf37461fbf.zip
virtio-gpu: avoid possible NULL pointer dereference
If output is NULL it is not permissable to dereference it. So we should leave the respective function in this case. The inconsistency was indicated by cppcheck. No actual NULL pointer dereference was observed. Signed-off-by: Heinrich Schuchardt <[email protected]> Message-id: [email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions