Skip to content

Commit 71974cf

Browse files
Jacob Panjoergroedel
authored andcommitted
iommu/vt-d: Fix compile warning
Make intel_svm_unbind_mm() a static function. Fixes: 064a57d ("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]> Acked-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent bba9cc2 commit 71974cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/intel-svm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ intel_svm_bind_mm(struct device *dev, int flags, struct svm_dev_ops *ops,
601601
}
602602

603603
/* Caller must hold pasid_mutex */
604-
int intel_svm_unbind_mm(struct device *dev, int pasid)
604+
static int intel_svm_unbind_mm(struct device *dev, int pasid)
605605
{
606606
struct intel_svm_dev *sdev;
607607
struct intel_iommu *iommu;

0 commit comments

Comments
 (0)