diff options
author | Peter Rashleigh <peter@rashleigh.ca> | 2024-10-15 21:08:22 -0700 |
---|---|---|
committer | Andrew Lunn <andrew@lunn.ch> | 2024-10-20 09:41:10 -0500 |
commit | 12bc14949c4a7272b509af0f1022a0deeb215fd8 (patch) | |
tree | 218d4a574801aec3533dbff6396d3eec07176a97 /.mailmap | |
parent | eb592008f79be52ccef88cd9a5249b3fc0367278 (diff) | |
download | lwn-12bc14949c4a7272b509af0f1022a0deeb215fd8.tar.gz lwn-12bc14949c4a7272b509af0f1022a0deeb215fd8.zip |
net: dsa: mv88e6xxx: Fix error when setting port policy on mv88e6393x
mv88e6393x_port_set_policy doesn't correctly shift the ptr value when
converting the policy format between the old and new styles, so the
target register ends up with the ptr being written over the data bits.
Shift the pointer to align with the format expected by
mv88e6393x_port_policy_write().
Fixes: 6584b26020fc ("net: dsa: mv88e6xxx: implement .port_set_policy for Amethyst")
Signed-off-by: Peter Rashleigh <peter@rashleigh.ca>
Reviewed-by: Simon Horman <horms@kernel.org>
Message-ID: <20241016040822.3917-1-peter@rashleigh.ca>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions