diff options
author | Jiang Liu <[email protected]> | 2012-12-07 13:43:50 -0700 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2012-12-07 13:43:50 -0700 |
commit | de2b3eeafb555d7b623c9f34e399b39105ca527f (patch) | |
tree | 4f744043daec519931283d7f9060fc5e8dd47756 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9df7b25ab71cee770826d1e7983eb8b6715543d6 (diff) |
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 <[email protected]>
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions