]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/komeda: Add check for komeda_get_layer_fourcc_list()
authorHaoxiang Li <haoxiang_li2024@163.com>
Thu, 19 Dec 2024 09:02:56 +0000 (17:02 +0800)
committerLiviu Dudau <liviu.dudau@arm.com>
Wed, 29 Jan 2025 19:59:04 +0000 (19:59 +0000)
commit79fc672a092d93a7eac24fe20a571d4efd8fa5a4
tree61a8147aceacb01e7d531a87f690097dae544325
parentfd39c41bcd82d5ebaaebadb944eab5598c668a90
drm/komeda: Add check for komeda_get_layer_fourcc_list()

Add check for the return value of komeda_get_layer_fourcc_list()
to catch the potential exception.

Fixes: 5d51f6c0da1b ("drm/komeda: Add writeback support")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/r/20241219090256.146424-1-haoxiang_li2024@163.com
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c