diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-11-06 00:01:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-06 15:34:12 -0800 |
commit | 17fdd7638cb687cd7f15a48545f25d738f0101e0 (patch) | |
tree | 08fa6abca81c5edb3002ab121ab61dbed953429d /net/tls | |
parent | 9f8f35076cd44e55386775f7e787e8edd881a4c5 (diff) | |
download | linux-stable-17fdd7638cb687cd7f15a48545f25d738f0101e0.tar.gz linux-stable-17fdd7638cb687cd7f15a48545f25d738f0101e0.tar.bz2 linux-stable-17fdd7638cb687cd7f15a48545f25d738f0101e0.zip |
net: mscc: ocelot: fix __ocelot_rmw_ix prototype
The "read-modify-write register index" function is declared with a
confusing prototype: the "mask" and "reg" arguments are swapped.
Fortunately, this does not affect callers so far. Both arguments are
u32, and the wrapper macros (ocelot_rmw_ix etc) have the arguments in
the correct order (the one from ocelot_io.c).
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions