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

2022-02-09 Thread Jernej Škrabec
Hi! Dne sreda, 09. februar 2022 ob 06:53:27 CET je Pin-Yen Lin napisal(a): > The length of EDID block can be longer than 256 bytes, so we should use > `int` instead of `u8` for the `edid_pos` variable. > > Signed-off-by: Pin-Yen Lin Please add "Fixes" tag. With that: Reviewed-by: Jernej Skrabec

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

2022-02-09 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. Signed-off-by: Pin-Yen Lin --- drivers/gpu/drm/bridge/analogix/anx7625.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/analog