diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-05-24 13:11:50 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-06-09 15:12:08 +0100 |
| commit | 5e131b80605a391bb61c23e1f5950a343b4d8a58 (patch) | |
| tree | 5a34b1d767d67bdb2d9109614ef1e8e3f35f1e76 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 66c1dfad00120d15abb1bca4e97b1dcf82002019 (diff) | |
media: atomisp: move up sanity checks
The sanity checks were done too late, so move them up.
This fixes this smatch warning:
drivers/staging/media/atomisp/pci/sh_css_firmware.c:247 sh_css_load_firmware() warn: variable dereferenced before check 'fw_data' (see line 237)
Link: https://lore.kernel.org/r/20230524121150.435736-9-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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
