diff options
author | Lyude Paul <lyude@redhat.com> | 2025-03-31 18:23:55 -0400 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2025-04-02 17:20:01 -0400 |
commit | 8abaa80b403e1fc40877eb9b339ae0ad07e8968f (patch) | |
tree | 2820b04e2356bb66cdb537d470831f2d835788e3 /tools/build/tests | |
parent | 4190aa3a76a6f840ace7d5e30719f85af0ed6302 (diff) |
drm/mode_config: Make drm_mode_config.(max|min)_(width|height) unsignedHEADdrm-misc-next
It doesn't make much sense to allow devices to specify their min/max
resolution as signed integers, and in Rust with CONFIG_RUST_OVERFLOW_CHECKS
enabled this provides us actual over/underflow checks. Similarly, it
doesn't really make much sense for us to allow devices to specify their
minimum/maximum resolution as signed.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250331222556.454334-3-lyude@redhat.com
Diffstat (limited to 'tools/build/tests')
0 files changed, 0 insertions, 0 deletions