git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df7b25
)
VFIO: use ACCESS_ONCE() to guard access to dev->driver
author
Jiang Liu
<liuj97@gmail.com>
Fri, 7 Dec 2012 20:43:50 +0000
(13:43 -0700)
committer
Alex Williamson
<alex.williamson@redhat.com>
Fri, 7 Dec 2012 20:43:50 +0000
(13:43 -0700)
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>
No differences found