summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
diff options
context:
space:
mode:
authorZhouyi Zhou <zhouzhouyi@gmail.com>2022-02-10 14:58:24 +0800
committerHelge Deller <deller@gmx.de>2022-04-14 22:01:24 +0200
commitd6cd978f7e6b6f6895f8d0c4ce6e5d2c8e979afe (patch)
treeab3dfced4ae3a181d6f97fbc9c80896b9bfbe790 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
parent16a54d4ee7c8aa1c4b59a91bea24799f48bcc5b5 (diff)
downloadlinux-d6cd978f7e6b6f6895f8d0c4ce6e5d2c8e979afe.tar.bz2
video: fbdev: fbmem: fix pointer reference to null device field
In function do_remove_conflicting_framebuffers, if device is NULL, there will be null pointer reference. The patch add a check to the if expression. Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com> Acked-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Helge Deller <deller@gmx.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220210065824.368355-1-zhouzhouyi@gmail.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
0 files changed, 0 insertions, 0 deletions