diff options
author | Finn Thain <[email protected]> | 2020-01-23 09:07:26 +1100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-01-23 21:24:37 +0100 |
commit | e3885f576196ddfc670b3d53e745de96ffcb49ab (patch) | |
tree | c9f91cac2148e0b3f24cc9c83a345c5bad28d433 /drivers/fpga/fpga-mgr.c | |
parent | 5fedabf5a70be26b19d7520f09f12a62274317c6 (diff) |
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 <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions