]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: fix invalid parameters order when calling the tcam init
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Tue, 24 Oct 2017 09:41:27 +0000 (11:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Oct 2017 08:07:52 +0000 (17:07 +0900)
commit659d6180ebaea5ba82351df7c0c611dff0aaa279
tree31bb6df9873bb193e5775b9fea9a665c9b1db391
parent095002abf75ae5ef88ef9cd3733cc06caa1b7c6d
net: mvpp2: fix invalid parameters order when calling the tcam init

When calling mvpp2_prs_mac_multi_set() from mvpp2_prs_mac_init(), two
parameters (the port index and the table index) are inverted. Fixes
this.

Fixes: dc37d05f9885 ("ethernet: Add new driver for Marvell Armada 375 network unit")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c