diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-09-09 05:06:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-09 23:14:22 +0200 |
commit | 03679a14739a0d4c14b52ba65a69ff553bfba73b (patch) | |
tree | 21908658265652dd493b356dfad0b03a1d415126 /drivers/firmware/Kconfig | |
parent | bpf: fix out of bounds access in verifier log (diff) | |
download | linux-03679a14739a0d4c14b52ba65a69ff553bfba73b.tar.xz linux-03679a14739a0d4c14b52ba65a69ff553bfba73b.zip |
net: dsa: bcm_sf2: Fix 64-bits register writes
The macro to write 64-bits quantities to the 32-bits register swapped
the value and offsets arguments, we want to preserve the ordering of the
arguments with respect to how writel() is implemented for instance:
value first, offset/base second.
Fixes: 246d7f773c13 ("net: dsa: add Broadcom SF2 switch driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/firmware/Kconfig')
0 files changed, 0 insertions, 0 deletions