diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2020-01-22 23:07:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-23 21:24:37 +0100 |
commit | e3885f576196ddfc670b3d53e745de96ffcb49ab (patch) | |
tree | c9f91cac2148e0b3f24cc9c83a345c5bad28d433 /Documentation | |
parent | net/sonic: Clear interrupt flags immediately (diff) | |
download | linux-e3885f576196ddfc670b3d53e745de96ffcb49ab.tar.xz linux-e3885f576196ddfc670b3d53e745de96ffcb49ab.zip |
net/sonic: Use MMIO accessors
The driver accesses descriptor memory which is simultaneously accessed by
the chip, so the compiler must not be allowed to re-order CPU accesses.
sonic_buf_get() used 'volatile' to prevent that. sonic_buf_put() should
have done so too but was overlooked.
Fixes: efcce839360f ("[PATCH] macsonic/jazzsonic network drivers update")
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions