@@ -232,7 +232,7 @@ static inline bool vfio_iommu_driver_allowed(struct vfio_container *container,
232
232
}
233
233
#endif /* CONFIG_VFIO_NOIOMMU */
234
234
235
- /**
235
+ /*
236
236
* IOMMU driver registration
237
237
*/
238
238
int vfio_register_iommu_driver (const struct vfio_iommu_driver_ops * ops )
@@ -285,7 +285,7 @@ static int vfio_iommu_group_notifier(struct notifier_block *nb,
285
285
unsigned long action , void * data );
286
286
static void vfio_group_get (struct vfio_group * group );
287
287
288
- /**
288
+ /*
289
289
* Container objects - containers are created when /dev/vfio/vfio is
290
290
* opened, but their lifecycle extends until the last user is done, so
291
291
* it's freed via kref. Must support container/group/device being
@@ -309,7 +309,7 @@ static void vfio_container_put(struct vfio_container *container)
309
309
kref_put (& container -> kref , vfio_container_release );
310
310
}
311
311
312
- /**
312
+ /*
313
313
* Group objects - create, release, get, put, search
314
314
*/
315
315
static struct vfio_group *
@@ -488,7 +488,7 @@ static struct vfio_group *vfio_group_get_from_dev(struct device *dev)
488
488
return group ;
489
489
}
490
490
491
- /**
491
+ /*
492
492
* Device objects - create, release, get, put, search
493
493
*/
494
494
/* Device reference always implies a group reference */
@@ -595,7 +595,7 @@ static int vfio_dev_viable(struct device *dev, void *data)
595
595
return ret ;
596
596
}
597
597
598
- /**
598
+ /*
599
599
* Async device support
600
600
*/
601
601
static int vfio_group_nb_add_dev (struct vfio_group * group , struct device * dev )
@@ -689,7 +689,7 @@ static int vfio_iommu_group_notifier(struct notifier_block *nb,
689
689
return NOTIFY_OK ;
690
690
}
691
691
692
- /**
692
+ /*
693
693
* VFIO driver API
694
694
*/
695
695
void vfio_init_group_dev (struct vfio_device * device , struct device * dev ,
@@ -831,7 +831,7 @@ int vfio_register_emulated_iommu_dev(struct vfio_device *device)
831
831
}
832
832
EXPORT_SYMBOL_GPL (vfio_register_emulated_iommu_dev );
833
833
834
- /**
834
+ /*
835
835
* Get a reference to the vfio_device for a device. Even if the
836
836
* caller thinks they own the device, they could be racing with a
837
837
* release call path, so we can't trust drvdata for the shortcut.
@@ -965,7 +965,7 @@ void vfio_unregister_group_dev(struct vfio_device *device)
965
965
}
966
966
EXPORT_SYMBOL_GPL (vfio_unregister_group_dev );
967
967
968
- /**
968
+ /*
969
969
* VFIO base fd, /dev/vfio/vfio
970
970
*/
971
971
static long vfio_ioctl_check_extension (struct vfio_container * container ,
@@ -1183,7 +1183,7 @@ static const struct file_operations vfio_fops = {
1183
1183
.compat_ioctl = compat_ptr_ioctl ,
1184
1184
};
1185
1185
1186
- /**
1186
+ /*
1187
1187
* VFIO Group fd, /dev/vfio/$GROUP
1188
1188
*/
1189
1189
static void __vfio_group_unset_container (struct vfio_group * group )
@@ -1536,7 +1536,7 @@ static const struct file_operations vfio_group_fops = {
1536
1536
.release = vfio_group_fops_release ,
1537
1537
};
1538
1538
1539
- /**
1539
+ /*
1540
1540
* VFIO Device fd
1541
1541
*/
1542
1542
static int vfio_device_fops_release (struct inode * inode , struct file * filep )
@@ -1611,7 +1611,7 @@ static const struct file_operations vfio_device_fops = {
1611
1611
.mmap = vfio_device_fops_mmap ,
1612
1612
};
1613
1613
1614
- /**
1614
+ /*
1615
1615
* External user API, exported by symbols to be linked dynamically.
1616
1616
*
1617
1617
* The protocol includes:
@@ -1659,7 +1659,7 @@ struct vfio_group *vfio_group_get_external_user(struct file *filep)
1659
1659
}
1660
1660
EXPORT_SYMBOL_GPL (vfio_group_get_external_user );
1661
1661
1662
- /**
1662
+ /*
1663
1663
* External user API, exported by symbols to be linked dynamically.
1664
1664
* The external user passes in a device pointer
1665
1665
* to verify that:
@@ -1725,7 +1725,7 @@ long vfio_external_check_extension(struct vfio_group *group, unsigned long arg)
1725
1725
}
1726
1726
EXPORT_SYMBOL_GPL (vfio_external_check_extension );
1727
1727
1728
- /**
1728
+ /*
1729
1729
* Sub-module support
1730
1730
*/
1731
1731
/*
@@ -2272,7 +2272,7 @@ struct iommu_domain *vfio_group_iommu_domain(struct vfio_group *group)
2272
2272
}
2273
2273
EXPORT_SYMBOL_GPL (vfio_group_iommu_domain );
2274
2274
2275
- /**
2275
+ /*
2276
2276
* Module/class support
2277
2277
*/
2278
2278
static char * vfio_devnode (struct device * dev , umode_t * mode )
0 commit comments