diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-24 13:11:43 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 15:10:47 +0100 |
commit | 66c1dfad00120d15abb1bca4e97b1dcf82002019 (patch) | |
tree | 054b3e125aad36f6cf957fb71be38e4bccf5f31c /certs | |
parent | 625ac9af384481e8644e0653a4aa472aa95f0395 (diff) | |
download | linux-66c1dfad00120d15abb1bca4e97b1dcf82002019.tar.gz linux-66c1dfad00120d15abb1bca4e97b1dcf82002019.tar.bz2 linux-66c1dfad00120d15abb1bca4e97b1dcf82002019.zip |
media: atomisp: initialize settings to 0
Fix a compiler warning:
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c:1525:13: warning: 'settings' may be used uninitialized [-Wmaybe-uninitialized]
The 'settings' variable is actually always initialized, but the
compiler isn't quite able to figure that out. Just initialize it
to 0 to avoid this warning.
Link: https://lore.kernel.org/r/20230524121150.435736-2-hverkuil-cisco@xs4all.nl
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions