]> www.infradead.org Git - users/willy/xarray.git/commit
drm/meson: plane: Add error handling
authorHaoran Liu <liuhaoran14@163.com>
Wed, 29 Nov 2023 11:34:05 +0000 (03:34 -0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 6 Jun 2024 08:27:44 +0000 (10:27 +0200)
commit3c28b239620e249b68beeca17f429e317fa6b8d4
treea36e92e87d915e13251a19851ebf684bb5103f12
parent310ec03841a36e3f45fb528f0dfdfe5b9e84b037
drm/meson: plane: Add error handling

This patch adds robust error handling to the meson_plane_create
function in drivers/gpu/drm/meson/meson_plane.c. The function
previously lacked proper handling for potential failure scenarios
of the drm_universal_plane_init call.

Signed-off-by: Haoran Liu <liuhaoran14@163.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20231129113405.33057-1-liuhaoran14@163.com
[narmstrong: fixe the commit subject]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231129113405.33057-1-liuhaoran14@163.com
drivers/gpu/drm/meson/meson_plane.c