aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorZhouyi Zhou <[email protected]>2022-02-10 06:58:24 +0000
committerHelge Deller <[email protected]>2022-04-14 20:01:24 +0000
commitd6cd978f7e6b6f6895f8d0c4ce6e5d2c8e979afe (patch)
treeab3dfced4ae3a181d6f97fbc9c80896b9bfbe790 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentfbcon: replace snprintf in show functions with sysfs_emit (diff)
downloadkernel-d6cd978f7e6b6f6895f8d0c4ce6e5d2c8e979afe.tar.gz
kernel-d6cd978f7e6b6f6895f8d0c4ce6e5d2c8e979afe.zip
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 <[email protected]> Acked-by: Paul Menzel <[email protected]> Signed-off-by: Helge Deller <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions