projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab96746
)
iommu/vt-d: Remove unnecessary parentheses
author
Lu Baolu
<baolu.lu@linux.intel.com>
Fri, 4 May 2018 05:08:19 +0000
(13:08 +0800)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 15 May 2018 14:34:53 +0000
(16:34 +0200)
Remove unnecessary parentheses to comply with preferred coding
style.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-svm.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/intel-svm.c
b/drivers/iommu/intel-svm.c
index
e8cd984
..
45f6e58
100644
(file)
--- a/
drivers/iommu/intel-svm.c
+++ b/
drivers/iommu/intel-svm.c
@@
-319,7
+319,7
@@
int intel_svm_bind_mm(struct device *dev, int *pasid, int flags, struct svm_dev_
} else
pasid_max = 1 << 20;
- if (
(flags & SVM_FLAG_SUPERVISOR_MODE)
) {
+ if (
flags & SVM_FLAG_SUPERVISOR_MODE
) {
if (!ecap_srs(iommu->ecap))
return -EINVAL;
} else if (pasid) {