On Mon, Jun 22, 2026 at 03:19:35PM +0200, Thomas Zimmermann wrote:
> Validate the framebuffer size from the firmware against the
> limitations of struct drm_display_mode. The type only stores sizes
> in 16-bit fields. Fail probing on errors.
> 
> v2:
> - remove unused function simplefb_get_validated_int0() (Sashiko)
> 
> Signed-off-by: Thomas Zimmermann <[email protected]>
> Fixes: 11e8f5fd223b ("drm: Add simpledrm driver")
> Cc: <[email protected]> # v5.14+
> ---
>  drivers/gpu/drm/sysfb/simpledrm.c | 15 ++++-----------
>  1 file changed, 4 insertions(+), 11 deletions(-)

Reviewed-by: Thierry Reding <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to