summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2024-03-25 17:50:25 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-04-08 14:48:19 +0300
commit17d1316de0d7dc1bdc5d6e3ad4efd30a9bf1a381 (patch)
treec5f59c554628dd2b75b39c9495e0a8265c0117fb /Documentation/userspace-api
parent1820e16a3019b6258e6009d34432946a6ddd0a90 (diff)
downloadlinux-17d1316de0d7dc1bdc5d6e3ad4efd30a9bf1a381.tar.xz
media: dvbdev: Initialize sbuf
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>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions