Zongdong Jiao cdb452553b hdmitx: correct the return value of edid_store [1/1]
PD#SWPL-103371

Problem:
When load edid.bin to /sys/class/amhdmitx/amhdmitx0/edid, kernel will
[ 344.495418@4] [load_edid_data] new edid loaded!
FORTIFY: write: count 4294967284 > SSIZE_MAX
Aborted

Solution:
correct the return value of edid_store

Verify:
g12

Test:
u212

Change-Id: Iadd97ff4c9688bfce9bed4653ded98a91776cf64
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
2023-01-30 23:33:35 -08:00
S
Description
No description provided
118 MiB
Languages
C 98.9%
Perl 0.4%
Makefile 0.4%
Shell 0.2%