Skip to content
Commit b7ba9f34 authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab
Browse files

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: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 408d0244
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment