diff options
| author | Hans Verkuil <[email protected]> | 2023-05-24 13:11:43 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 15:10:47 +0100 |
| commit | 66c1dfad00120d15abb1bca4e97b1dcf82002019 (patch) | |
| tree | 054b3e125aad36f6cf957fb71be38e4bccf5f31c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 625ac9af384481e8644e0653a4aa472aa95f0395 (diff) | |
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/[email protected]
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions