aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.h
diff options
context:
space:
mode:
authorLyude Paul <[email protected]>2025-03-31 22:23:54 +0000
committerLyude Paul <[email protected]>2025-04-02 21:19:54 +0000
commit4190aa3a76a6f840ace7d5e30719f85af0ed6302 (patch)
treec3de24571779a735b216a7a5ca0a6f9e4e7e6356 /drivers/gpu/drm/lima/lima_sched.h
parentdrm/bridge: it6505: Switch to common helpers to power up/down dp link (diff)
downloadkernel-4190aa3a76a6f840ace7d5e30719f85af0ed6302.tar.gz
kernel-4190aa3a76a6f840ace7d5e30719f85af0ed6302.zip
drm/edid: Use unsigned int in drm_add_modes_noedid()
A negative resolution doesn't really make any sense, so let's make these parameters unsigned. In C this doesn't make much of a difference, but Rust is stricter about signed/unsigned casts and additionally can check for arithmetic over/underflows if CONFIG_RUST_OVERFLOW_CHECKS is enabled. Signed-off-by: Lyude Paul <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Thomas Zimmermann <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.h')
0 files changed, 0 insertions, 0 deletions