diff options
author | Pin-Yen Lin <treapking@chromium.org> | 2022-02-10 13:38:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:23:31 +0300 |
commit | 64c06df2428bb7bb3d8cf5691416001af42d94dd (patch) | |
tree | 6f14f4dc92a686257f2eb1fde2bbf86204ddfe3b /tools/bpf | |
parent | d6c7f46b8f05b0b7f8a6e3ecbbcb1a917663a85e (diff) | |
download | linux-64c06df2428bb7bb3d8cf5691416001af42d94dd.tar.xz |
drm/bridge: anx7625: Fix overflow issue on reading EDID
[ Upstream commit d5c6f647aec9ed524aedd04a3aec5ebc21d39007 ]
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 <treapking@chromium.org>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220210103827.402436-1-treapking@chromium.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/bpf')
0 files changed, 0 insertions, 0 deletions