diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2020-09-02 17:40:52 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-09-03 11:20:53 +0200 |
| commit | 815ac8567ef9fb56c679da7482bb3266760d69c6 (patch) | |
| tree | a0048f0ea06dc7928e1b4004e3e8726f69dce661 /tools/perf/scripts/python | |
| parent | b2999af93d6202945b92f970951d3fb371247ce9 (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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions