diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-13 20:02:59 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-06-29 12:01:44 -0700 |
commit | d02c6b52d12fa30eeabfaf5aefe12078eacb94b2 (patch) | |
tree | e05fe23e551ff04693130c850c09a40efd9771dd /include/linux/torture.h | |
parent | 6582e7f184e49a754ee09c996a886b89113d7354 (diff) | |
download | lwn-d02c6b52d12fa30eeabfaf5aefe12078eacb94b2.tar.gz lwn-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 'include/linux/torture.h')
0 files changed, 0 insertions, 0 deletions