diff options
| author | Jocelyn Falempe <[email protected]> | 2024-04-26 14:10:50 +0200 |
|---|---|---|
| committer | Jocelyn Falempe <[email protected]> | 2024-04-30 16:25:46 +0200 |
| commit | 986c12d8c9a677c094c37bd6aa636b4d4c5ccd46 (patch) | |
| tree | 738d17cbd6a832c7b5390413a7af060adc25ec5d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 4a9a567ab101e659a4fafb7a691ff6b84531a10a (diff) | |
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 <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions