net: ena: fix missing calls to READ_ONCE
authorNetanel Belgazal <netanel@amazon.com>
Sun, 9 Sep 2018 08:15:25 +0000 (08:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Sep 2018 14:59:56 +0000 (07:59 -0700)
commit28abf4e9c9201eda5c4d29ea609d07e877b464b8
tree52956ec00de6cceaaaee339b1c92e23b139118f2
parent944b28aa2982b4590d4d4dfc777cf85135dca2c0
net: ena: fix missing calls to READ_ONCE

Add READ_ONCE calls where necessary (for example when iterating
over a memory field that gets updated by the hardware).

Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c