aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/component.c
diff options
context:
space:
mode:
authorLyude Paul <[email protected]>2025-03-31 22:23:55 +0000
committerLyude Paul <[email protected]>2025-04-02 21:20:01 +0000
commit8abaa80b403e1fc40877eb9b339ae0ad07e8968f (patch)
tree2820b04e2356bb66cdb537d470831f2d835788e3 /drivers/base/component.c
parentdrm/edid: Use unsigned int in drm_add_modes_noedid() (diff)
downloadkernel-8abaa80b403e1fc40877eb9b339ae0ad07e8968f.tar.gz
kernel-8abaa80b403e1fc40877eb9b339ae0ad07e8968f.zip
drm/mode_config: Make drm_mode_config.(max|min)_(width|height) unsigned
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 <[email protected]> Reviewed-by: Maxime Ripard <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Thomas Zimmermann <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/base/component.c')
0 files changed, 0 insertions, 0 deletions