diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2021-11-11 23:04:09 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-16 14:37:09 +0000 |
| commit | 58043dbf6d1ae9deab4f5aa1e039c70112017682 (patch) | |
| tree | d267a715282cb5ea05895c9eee557fc6362c2b93 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 363d50b73dd8189615994877953f02adbe6fcf02 (diff) | |
media: atomisp: handle errors at sh_css_create_isp_params()
The succ var tracks memory allocation erros on this function.
Fix it, in order to stop this W=1 Werror in clang:
drivers/staging/media/atomisp/pci/sh_css_params.c:2430:7: error: variable 'succ' set but not used [-Werror,-Wunused-but-set-variable]
bool succ = true;
^
Reviewed-by: Nathan Chancellor <[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