commit | b7ba9f34800aee62e1ffcd4386a421116e09f4fe | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Wed Apr 22 21:16:46 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed Apr 29 11:59:57 2020 +0200 |
tree | 03e157f6d2e9c69f5fe99e435ced7cc2e78c4a0d | |
parent | 408d0244421c1e76e9910b10d4f82f086b9751b3 [diff] |
media: si2157: ensure wait_status is initialized smatch reports wait_status is uninitialized, because smatch cannot assume the loop body is ever executed. Clarify the code so that wait_status is retrieved at least once. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>