diff options
| author | 2020-04-13 20:02:59 +0800 | |
|---|---|---|
| committer | 2020-06-29 12:01:44 -0700 | |
| commit | d02c6b52d12fa30eeabfaf5aefe12078eacb94b2 (patch) | |
| tree | e05fe23e551ff04693130c850c09a40efd9771dd /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | torture: Add script to smoke-test commits in a branch (diff) | |
| download | linux-dev-d02c6b52d12fa30eeabfaf5aefe12078eacb94b2.tar.xz linux-dev-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 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
