]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvpp2: fix typo in the tcam setup
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Tue, 24 Oct 2017 09:41:26 +0000 (11:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Oct 2017 08:07:52 +0000 (17:07 +0900)
commit095002abf75ae5ef88ef9cd3733cc06caa1b7c6d
treea782e0d8dc51db638dc243ab2f9822c5bd601d80
parent98a3bc8302fe1c153549a667eb2ed0a370d32c35
net: mvpp2: fix typo in the tcam setup

This patch fixes a typo in the mvpp2_prs_tcam_data_cmp() function, as
the shift value is inverted with the data.

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