kernel_samsung_a53x/drivers/media/dvb-core
Ricardo Ribalda e8d59e07ee media: dvbdev: Initialize sbuf
[ Upstream commit 17d1316de0d7dc1bdc5d6e3ad4efd30a9bf1a381 ]

Because the size passed to copy_from_user() cannot be known beforehand,
it needs to be checked during runtime with check_object_size. That makes
gcc believe that the content of sbuf can be used before init.

Fix:
./include/linux/thread_info.h:215:17: warning: ‘sbuf’ may be used uninitialized [-Wmaybe-uninitialized]

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:32 +01:00
..
dmxdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_ca_en50221.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_demux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_frontend.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_math.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_net.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_ringbuffer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvb_vb2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dvbdev.c media: dvbdev: Initialize sbuf 2024-11-19 14:19:32 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00