From: Jiang Liu Date: Fri, 7 Dec 2012 20:43:50 +0000 (-0700) Subject: VFIO: use ACCESS_ONCE() to guard access to dev->driver X-Git-Tag: v3.8-rc1~10^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2b3eeafb555d7b623c9f34e399b39105ca527f;p=pandora-kernel.git 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 Signed-off-by: Alex Williamson --- Reading git-diff-tree failed