diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-12-03 01:55:52 +0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2023-12-04 11:42:32 +0300 |
commit | 5f8dec200923a76dc57187965fd59c1136f5d085 (patch) | |
tree | 162eece0f334fee443949c00c762645e044ccf6f /drivers/gpu/drm/qxl/qxl_drv.h | |
parent | 72ef65ab246e55847097d68e0964fbcdfff4366c (diff) | |
download | linux-5f8dec200923a76dc57187965fd59c1136f5d085.tar.xz |
drm/drv: propagate errors from drm_modeset_register_all()
In case the drm_modeset_register_all() function fails, its error code
will be ignored. Instead make the drm_dev_register() bail out in case of
such an error.
Fixes: 79190ea2658a ("drm: Add callbacks for late registering")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20231202225552.1283638-1-dmitry.baryshkov@linaro.org
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
0 files changed, 0 insertions, 0 deletions