* [PATCH] iommu/arm-smmu-v3: Assign boolean values to a bool variable
@ 2020-11-07 10:20 xiakaixu1987
2020-11-10 13:46 ` Will Deacon
0 siblings, 1 reply; 2+ messages in thread
From: xiakaixu1987 @ 2020-11-07 10:20 UTC (permalink / raw)
To: will, robin.murphy; +Cc: Kaixu Xia, linux-arm-kernel
From: Kaixu Xia <kaixuxia@tencent.com>
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>
---
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
index e634bbe60573..c9cafce51835 100644
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
@@ -33,7 +33,7 @@
#include "arm-smmu-v3.h"
-static bool disable_bypass = 1;
+static bool disable_bypass = true;
module_param(disable_bypass, bool, 0444);
MODULE_PARM_DESC(disable_bypass,
"Disable bypass streams such that incoming transactions from devices that are not attached to an iommu domain will report an abort back to the device and will not be allowed to pass through the SMMU.");
--
2.20.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iommu/arm-smmu-v3: Assign boolean values to a bool variable
2020-11-07 10:20 [PATCH] iommu/arm-smmu-v3: Assign boolean values to a bool variable xiakaixu1987
@ 2020-11-10 13:46 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2020-11-10 13:46 UTC (permalink / raw)
To: xiakaixu1987, robin.murphy
Cc: catalin.marinas, Kaixu Xia, kernel-team, linux-arm-kernel, Will Deacon
On Sat, 7 Nov 2020 18:20:39 +0800, xiakaixu1987@gmail.com wrote:
> 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
Applied to will (for-joerg/arm-smmu/updates), thanks!
[1/1] iommu/arm-smmu-v3: Assign boolean values to a bool variable
https://git.kernel.org/will/c/3045fe45abbc
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-10 13:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07 10:20 [PATCH] iommu/arm-smmu-v3: Assign boolean values to a bool variable xiakaixu1987
2020-11-10 13:46 ` Will Deacon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.