diff options
| author | Hans Verkuil <[email protected]> | 2023-05-24 13:11:50 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-06-09 15:12:08 +0100 |
| commit | 5e131b80605a391bb61c23e1f5950a343b4d8a58 (patch) | |
| tree | 5a34b1d767d67bdb2d9109614ef1e8e3f35f1e76 /tools/perf/scripts/python/task-analyzer.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/[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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions