|
From: <bva...@us...> - 2017-11-13 16:47:46
|
Revision: 7265
http://sourceforge.net/p/scst/svn/7265
Author: bvassche
Date: 2017-11-13 16:47:43 +0000 (Mon, 13 Nov 2017)
Log Message:
-----------
scst/src/scst_targ: Use READ_ONCE() instead of ACCESS_ONCE()
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2017-11-13 16:47:10 UTC (rev 7264)
+++ trunk/scst/src/scst_targ.c 2017-11-13 16:47:43 UTC (rev 7265)
@@ -3836,8 +3836,8 @@
/* dev->qerr can be changed behind our back */
q = cmd->dev->qerr;
- /* ACCESS_ONCE doesn't work for bit fields */
- qerr = ACCESS_ONCE(q);
+ /* READ_ONCE doesn't work for bit fields */
+ qerr = READ_ONCE(q);
switch (qerr) {
case SCST_QERR_2_RESERVED:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|