diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-07-21 10:45:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-22 12:26:30 +0200 |
commit | 917eb0bbb8d3ef9012aaefc080130fd6f0dd0adc (patch) | |
tree | 49815d701c14b184e94ae746d96ece5a8a7d4c30 /samples | |
parent | 44fd61a8bd0dc543a1bdde557f0cb4487ac44ffd (diff) |
staging: ks7010: Fix the initialization of the 'sleep_status' structure
[ Upstream commit 56315e55119c0ea57e142b6efb7c31208628ad86 ]
'sleep_status' has 3 atomic_t members. Initialize the 3 of them instead of
initializing only 2 of them and setting 0 twice to the same variable.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/d2e52a33a9beab41879551d0ae2fdfc99970adab.1626856991.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions