mirror-linux/drivers/gpu/drm/tiny
Alexandr Sapozhnikov 586a9fe142 drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()
[ Upstream commit 7245e629dc ]

After having been compared to NULL value at cirrus.c:455, pointer
'pipe->plane.state->fb' is passed as 1st parameter in call to function
'cirrus_fb_blit_rect' at cirrus.c:461, where it is dereferenced at
cirrus.c:316.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

v2:
	* aligned commit message to line-length limits

Signed-off-by: Alexandr Sapozhnikov <alsp705@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230215171549.16305-1-alsp705@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-30 12:49:16 +02:00
..
Kconfig
Makefile
arcpgu.c
bochs.c
cirrus.c
gm12u320.c
hx8357d.c
ili9163.c
ili9225.c
ili9341.c
ili9486.c
mi0283qt.c
panel-mipi-dbi.c
repaper.c
simpledrm.c
st7586.c
st7735r.c