kernel-ark/drivers/vfio
Jiang Liu de2b3eeafb VFIO: use ACCESS_ONCE() to guard access to dev->driver
Comments from dev_driver_string(),
/* dev->driver can change to NULL underneath us because of unbinding,
 * so be careful about accessing it.
 */

So use ACCESS_ONCE() to guard access to dev->driver field.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2012-12-07 13:43:50 -07:00
..
pci vfio-pci: Re-order device reset 2012-12-07 13:43:50 -07:00
Kconfig vfio: Add PCI device driver 2012-07-31 08:16:24 -06:00
Makefile
vfio_iommu_type1.c
vfio.c VFIO: use ACCESS_ONCE() to guard access to dev->driver 2012-12-07 13:43:50 -07:00