summaryrefslogtreecommitdiffstats
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJocelyn Falempe <jfalempe@redhat.com>2024-04-26 14:10:50 +0200
committerJocelyn Falempe <jfalempe@redhat.com>2024-04-30 16:25:46 +0200
commit986c12d8c9a677c094c37bd6aa636b4d4c5ccd46 (patch)
tree738d17cbd6a832c7b5390413a7af060adc25ec5d /tools/lib/python/kdoc/python_version.py
parent4a9a567ab101e659a4fafb7a691ff6b84531a10a (diff)
downloadlinux-986c12d8c9a677c094c37bd6aa636b4d4c5ccd46.tar.gz
linux-986c12d8c9a677c094c37bd6aa636b4d4c5ccd46.zip
drm/fb_dma: Add checks in drm_fb_dma_get_scanout_buffer()
plane->state and plane->state->fb can be NULL, so add a check before dereferencing them. Found by testing with the imx driver. Fixes: 879b3b6511fe ("drm/fb_dma: Add generic get_scanout_buffer() for drm_panic") Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240426121121.241366-1-jfalempe@redhat.com
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions