summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-03-14 14:00:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-20 10:07:21 +0100
commitfddc3df7647e796c8947215a281db95109d17ac1 (patch)
tree9d3cb3e3387169c12f93763f6e22bb4b307d16eb /drivers/of
parent4c8b4e60b5755b65c39db2adcb3cc5ba293e118e (diff)
mlxsw: reg: Fix SPVMLR max record count
[ Upstream commit e9093b1183bbac462d2caef3eac165778c0b1bf1 ] The num_rec field is 8 bit, so the maximal count number is 255. This fixes vlans learning not being enabled for wider ranges than 255. Fixes: a4feea74cd7a ("mlxsw: reg: Add Switch Port VLAN MAC Learning register definition") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions