iommu/vt-d: Fix compile warning
PATCH 1/1 iommu/vt-d: Fix compile warning
Make intel_svm_unbind_mm() a static function.
Fixes 064a57d7ddfc ("iommu/vt-d: Replace intel SVM APIs with generic
SVA APIs")
Reported-by kbuild test robot <[email protected]>
Signed-off-by Jacob Pan <[email protected]>
--- drivers/iommu/intel-svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/intel-svm.c +1 -1
@@ -597,7 +597,7 @@ intel_svm_bind_mm(struct device *dev, int flags, struct svm_dev_ops *ops, }/* Caller must hold pasid_mutex */ -int intel_svm_unbind_mm (struct device *dev,int pasid) +static int intel_svm_unbind_mm (struct device *dev,int pasid) {struct intel_svm_dev *sdev;struct intel_iommu *iommu;
Signature · 1 line
2.7.4
Quoted 6 lines · Jacob Pan
Make
intel_svm_unbind_mm()a static function.Fixes 064a57d7ddfc ("iommu/vt-d: Replace intel SVM APIs with genericSVA APIs")
Reported-by kbuild test robot <[email protected]>Signed-off-by Jacob Pan <[email protected]>
Acked-by Lu Baolu <[email protected]>
Best regards,
baolu
Quoted 18 lines
--- drivers/iommu/intel-svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iommu/intel-svm.c +1
-1@@ -597,7 +597,7 @@ intel_svm_bind_mm(struct device *dev, int flags, struct svm_dev_ops *ops, }/* Caller must hold pasid_mutex */ -int intel_svm_unbind_mm (struct device *dev,int pasid) +static int intel_svm_unbind_mm (struct device *dev,int pasid) {struct intel_svm_dev *sdev;struct intel_iommu *iommu;
Applied, thanks.
Quoted 4 lines · Jacob Pan
Make
intel_svm_unbind_mm()a static function.Fixes 064a57d7ddfc ("iommu/vt-d: Replace intel SVM APIs with genericSVA APIs")
Please make sure the fixes tags (or any other tags) are not line-wrapped in future patch submissions.
Thanks,
Joerg
Quoted 11 lines · On Fri, 29 May 2020 15:15:45 +0200 Joerg Roedel <[email protected]> wrote:
Applied, thanks.
Quoted 4 lines · Jacob Pan
Make
intel_svm_unbind_mm()a static function.Fixes 064a57d7ddfc ("iommu/vt-d: Replace intel SVM APIs withgeneric SVA APIs")
Please make sure the fixes tags (or any other tags) are not line-wrapped in future patch submissions.
Got it, thanks.
Quoted 3 lines
Thanks,
Joerg
[Jacob Pan]