mirror-linux/drivers/media/cec/usb
Hans Verkuil 5edc9b560f media: cec: extron-da-hd-4k-plus: Fix Wformat-truncation
Fix gcc8 warning:

drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c:1014:44: warning: 'DCEC' directive output may be truncated writing 4 bytes into a region of size between 0 and 53 [-Wformat-truncation=]

Resizing the 'buf' and 'cmd' arrays fixed the warning.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2025-04-25 15:14:30 +02:00
..
extron-da-hd-4k-plus media: cec: extron-da-hd-4k-plus: Fix Wformat-truncation 2025-04-25 15:14:30 +02:00
pulse8 media: pulse8-cec: fix data timestamp at pulse8_setup() 2024-10-18 10:43:03 +02:00
rainshadow
Kconfig media: cec: extron-da-hd-4k-plus: add the Extron DA HD 4K Plus CEC driver 2024-09-05 20:13:41 +02:00
Makefile media: cec: extron-da-hd-4k-plus: add the Extron DA HD 4K Plus CEC driver 2024-09-05 20:13:41 +02:00