Re: [PATCH v2] drm/bridge: anx7625: Fix overflow issue on reading EDID

2022-02-14 Thread Robert Foss
On Thu, 10 Feb 2022 at 11:38, Pin-Yen Lin wrote: > > The length of EDID block can be longer than 256 bytes, so we should use > `int` instead of `u8` for the `edid_pos` variable. > > Fixes: 8bdfc5dae4e3 ("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP") > Signed-off-by: Pin-Yen Lin > Reviewed

[PATCH v2] drm/bridge: anx7625: Fix overflow issue on reading EDID

2022-02-10 Thread Pin-Yen Lin
The length of EDID block can be longer than 256 bytes, so we should use `int` instead of `u8` for the `edid_pos` variable. Fixes: 8bdfc5dae4e3 ("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP") Signed-off-by: Pin-Yen Lin Reviewed-by: Jernej Skrabec --- Changes in v2: - add "Fixes" tag - co