File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -441,12 +441,6 @@ static int iommu_init_device(struct device *dev)
441
441
ret = - ENODEV ;
442
442
goto err_free ;
443
443
}
444
- /*
445
- * And if we do now see any replay calls, they would indicate someone
446
- * misusing the dma_configure path outside bus code.
447
- */
448
- if (dev -> driver )
449
- dev_WARN (dev , "late IOMMU probe at driver bind, something fishy here!\n" );
450
444
451
445
if (!try_module_get (ops -> owner )) {
452
446
ret = - EINVAL ;
@@ -569,6 +563,12 @@ static int __iommu_probe_device(struct device *dev, struct list_head *group_list
569
563
ret = iommu_init_device (dev );
570
564
if (ret )
571
565
return ret ;
566
+ /*
567
+ * And if we do now see any replay calls, they would indicate someone
568
+ * misusing the dma_configure path outside bus code.
569
+ */
570
+ if (dev -> driver )
571
+ dev_WARN (dev , "late IOMMU probe at driver bind, something fishy here!\n" );
572
572
573
573
group = dev -> iommu_group ;
574
574
gdev = iommu_group_alloc_device (group , dev );
You can’t perform that action at this time.
0 commit comments