diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-13 14:02:59 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-29 21:01:44 +0200 |
commit | d02c6b52d12fa30eeabfaf5aefe12078eacb94b2 (patch) | |
tree | e05fe23e551ff04693130c850c09a40efd9771dd /kernel/locking/spinlock.c | |
parent | torture: Add script to smoke-test commits in a branch (diff) | |
download | linux-d02c6b52d12fa30eeabfaf5aefe12078eacb94b2.tar.xz linux-d02c6b52d12fa30eeabfaf5aefe12078eacb94b2.zip |
locktorture: Use true and false to assign to bool variables
This commit fixes the following coccicheck warnings:
kernel/locking/locktorture.c:689:6-10: WARNING: Assignment of 0/1 to bool variable
kernel/locking/locktorture.c:907:2-20: WARNING: Assignment of 0/1 to bool variable
kernel/locking/locktorture.c:938:3-20: WARNING: Assignment of 0/1 to bool variable
kernel/locking/locktorture.c:668:2-19: WARNING: Assignment of 0/1 to bool variable
kernel/locking/locktorture.c:674:2-19: WARNING: Assignment of 0/1 to bool variable
kernel/locking/locktorture.c:634:2-20: WARNING: Assignment of 0/1 to bool variable
kernel/locking/locktorture.c:640:2-20: WARNING: Assignment of 0/1 to bool variable
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/locking/spinlock.c')
0 files changed, 0 insertions, 0 deletions