Re: [PATCH 0/8] drm: fix .get_modes() return values

2024-03-13 Thread Jani Nikula
On Fri, 08 Mar 2024, Thomas Zimmermann wrote: > Acked-by: Thomas Zimmermann > > for the series. Thanks, pushed the lot to drm-misc-next-fixes. > Do you plan to make the return type an unsigned int eventually? Not really. The hooks could still return -ENOMEM or something, with no compiler

Re: [PATCH 0/8] drm: fix .get_modes() return values

2024-03-08 Thread Thomas Zimmermann
Hi Am 08.03.24 um 17:03 schrieb Jani Nikula: The drm_connector_helper_funcs .get_modes() hooks are not supposed to return negative error codes. Some do, but they're not checked, and could lead to mysterious errors. Fix this all over the place. Acked-by: Thomas Zimmermann for the series. Do

[PATCH 0/8] drm: fix .get_modes() return values

2024-03-08 Thread Jani Nikula
The drm_connector_helper_funcs .get_modes() hooks are not supposed to return negative error codes. Some do, but they're not checked, and could lead to mysterious errors. Fix this all over the place. BR, Jani. Jani Nikula (8): drm/probe-helper: warn about negative .get_modes() drm/panel: do