Files
linux/include/drm
Jani Nikula 7af03e6887 drm/probe-helper: warn about negative .get_modes()
The .get_modes() callback is supposed to return the number of modes,
never a negative error code. If a negative value is returned, it'll just
be interpreted as a negative count, and added to previous calculations.

Document the rules, but handle the negative values gracefully with an
error message.

Cc: stable@vger.kernel.org
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/50208c866facc33226a3c77b82bb96aeef8ef310.1709913674.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2024-03-13 10:44:14 +02:00
..
2024-01-29 14:20:23 +01:00
2023-11-14 10:23:12 +01:00
2024-02-05 11:02:07 +01:00
2021-10-04 12:06:14 +02:00
2023-06-02 20:05:45 +03:00
2024-02-14 13:01:27 -08:00
2023-12-21 11:45:01 -05:00