summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-06-02 13:24:01 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2026-06-03 18:47:51 +0200
commit30252e6f71ba974ecf9cd8ce395b73b9900bc378 (patch)
tree29c1849a44e925fa329fa43c364851baa90de17d /rust/kernel
parent7f93fad5ea0affc9e1505dd0f7596c0fdb496213 (diff)
drm/dumb-buffer: Drop buffer-size limits for now
The size limits break some of the CI tests. So drop them for now. Keep the other overflow tests from commit 5ab62dd3687b ("drm: prevent integer overflows in dumb buffer creation helpers") in place. There is still a pre-existing overflow check for 32-bit type limits in drm_mode_create_dumb() that will catch the really absurd size requests. Drivers that still do not use drm_mode_size_dumb() should be updated. The helper calculates dumb-buffer geometry with overflow checks. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Fixes: 5ab62dd3687b ("drm: prevent integer overflows in dumb buffer creation helpers") Reported-by: Jani Nikula <jani.nikula@linux.intel.com> Closes: https://lore.kernel.org/dri-devel/ddf0233e50044059c85279f928661563ef6a55bf@intel.com/ Cc: Rajat Gupta <rajat.gupta@oss.qualcomm.com> Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Maxime Ripard <mripard@kernel.org> Acked-by: Jani Nikula <jani.nikula@intel.com> Link: https://patch.msgid.link/20260602112842.252279-1-tzimmermann@suse.de
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions