summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJiang Liu <liuj97@gmail.com>2012-12-07 21:43:50 +0100
committerAlex Williamson <alex.williamson@redhat.com>2012-12-07 21:43:50 +0100
commitde2b3eeafb555d7b623c9f34e399b39105ca527f (patch)
tree4f744043daec519931283d7f9060fc5e8dd47756 /drivers/hwmon
parentVFIO: unregister IOMMU notifier on error recovery path (diff)
downloadlinux-de2b3eeafb555d7b623c9f34e399b39105ca527f.tar.xz
linux-de2b3eeafb555d7b623c9f34e399b39105ca527f.zip
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>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions