iommu/arm-smmu-v3: Assign boolean values to a bool variable
authorKaixu Xia <kaixuxia@tencent.com>
Sat, 7 Nov 2020 10:20:39 +0000 (18:20 +0800)
committerWill Deacon <will@kernel.org>
Tue, 10 Nov 2020 12:03:02 +0000 (12:03 +0000)
commit3045fe45abbcba2ae4c3ce9b3c610523651be1c7
tree9013cdb3439b40619d3f7644386df13cf37fe6e8
parentaf9da91493e5ff6179c2ecbfafa05ef203b25b5f
iommu/arm-smmu-v3: Assign boolean values to a bool variable

Fix the following coccinelle warnings:

./drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:36:12-26: WARNING: Assignment of 0/1 to bool variable

Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604744439-6846-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c