linux-uconsole/drivers/net/ethernet/mscc
Vladimir Oltean 0f716cda30 net: mscc: ocelot: fix __ocelot_rmw_ix prototype
[ Upstream commit 17fdd7638c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:19:45 +01:00
..
Kconfig
Makefile
ocelot.c net: mscc: ocelot: refuse to overwrite the port's native vlan 2019-11-12 19:21:13 +01:00
ocelot.h net: mscc: ocelot: fix __ocelot_rmw_ix prototype 2019-12-05 09:19:45 +01:00
ocelot_ana.h
ocelot_board.c net: mscc: fix the frame extraction into the skb 2018-09-21 09:07:50 -07:00
ocelot_dev.h
ocelot_dev_gmii.h
ocelot_hsio.h
ocelot_io.c
ocelot_qs.h
ocelot_qsys.h
ocelot_regs.c
ocelot_rew.h
ocelot_sys.h