diff options
author | Haoxiang Li <haoxiang_li2024@163.com> | 2024-12-19 17:02:56 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:05:08 +0100 |
commit | 36b9be873809e62b405d20c8d525f7063f4dc4ab (patch) | |
tree | 398fb982afd8dac6df73b71faea182d03afe7ac9 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | 2708a151e0e9943e90a36ebec36103586c41c424 (diff) |
drm/komeda: Add check for komeda_get_layer_fourcc_list()
commit 79fc672a092d93a7eac24fe20a571d4efd8fa5a4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions