https://github.com/torvalds/linux
Revision 17fdd7638cb687cd7f15a48545f25d738f0101e0 authored by Vladimir Oltean on 05 November 2019, 22:01:40 UTC, committed by David S. Miller on 06 November 2019, 23:34:12 UTC
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>
1 parent 9f8f350
Raw File
Tip revision: 17fdd7638cb687cd7f15a48545f25d738f0101e0 authored by Vladimir Oltean on 05 November 2019, 22:01:40 UTC
net: mscc: ocelot: fix __ocelot_rmw_ix prototype
Tip revision: 17fdd76
COPYING
The Linux Kernel is provided under:

	SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note

Being under the terms of the GNU General Public License version 2 only,
according with:

	LICENSES/preferred/GPL-2.0

With an explicit syscall exception, as stated at:

	LICENSES/exceptions/Linux-syscall-note

In addition, other licenses may also apply. Please see:

	Documentation/process/license-rules.rst

for more details.
back to top