diff options
| author | 2020-09-02 17:40:52 +0200 | |
|---|---|---|
| committer | 2020-09-03 11:20:53 +0200 | |
| commit | 815ac8567ef9fb56c679da7482bb3266760d69c6 (patch) | |
| tree | a0048f0ea06dc7928e1b4004e3e8726f69dce661 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | media: atomisp: fix casts at atomisp_compat_ioctl32.c (diff) | |
media: atomisp: atomisp_gmin_platform: check before use
solve this smatch warning:
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c:842 gmin_v1p8_ctrl() warn: variable dereferenced before check 'gs' (see line 832)
By moving the check to happen before its usage.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
