diff options
author | Netanel Belgazal <netanel@annapurnalabs.com> | 2017-02-09 15:21:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-09 22:27:06 -0500 |
commit | a8496eb81342393e4c8280a5ec27e1872a3fb9fd (patch) | |
tree | 204e1ce4b2e26fe971a06b11565204cb618b8cbc /arch/sh | |
parent | b1669c9f5ac9d50651889e22e4a82f1b34af32d3 (diff) |
net/ena: use READ_ONCE to access completion descriptors
Completion descriptors are accessed from the driver and from the device.
To avoid reading the old value, use READ_ONCE macro.
Signed-off-by: Netanel Belgazal <netanel@annapurnalabs.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions