]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f65850bd222cce2f8cdcf9a2846c8833147b110
tree52956ec00de6cceaaaee339b1c92e23b139118f2
parentc59ba363d517e1569caa4fb8ac98e2062a03019a
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