diff options
author | Tsuchiya Yuto <kitakar@gmail.com> | 2021-12-01 17:19:04 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-07 13:29:57 +0300 |
commit | ac56760a8bbb4e654b2fd54e5de79dd5d72f937d (patch) | |
tree | 7fe56411122dbb4a4d5c8ae2dee63e8dacda3bb6 /Documentation/userspace-api | |
parent | 1ace494fd0ebea8581012f1b621c2b66b4b2671b (diff) | |
download | linux-ac56760a8bbb4e654b2fd54e5de79dd5d72f937d.tar.xz |
media: atomisp: fix "variable dereferenced before check 'asd'"
There are two occurrences where the variable 'asd' is dereferenced
before check. Fix this issue by using the variable after the check.
Link: https://lore.kernel.org/linux-media/20211122074122.GA6581@kili/
Link: https://lore.kernel.org/linux-media/20211201141904.47231-1-kitakar@gmail.com
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tsuchiya Yuto <kitakar@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions