diff options
| author | 2020-01-23 09:07:26 +1100 | |
|---|---|---|
| committer | 2020-01-23 21:24:37 +0100 | |
| commit | e3885f576196ddfc670b3d53e745de96ffcb49ab (patch) | |
| tree | c9f91cac2148e0b3f24cc9c83a345c5bad28d433 /include/uapi/linux/can/git:/ssh:/git@git.zx2c4.com | |
| parent | net/sonic: Clear interrupt flags immediately (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 <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/can/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
