]> 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)
commit6d2070b17df31d4504696117da2c23270515f119
treea782e0d8dc51db638dc243ab2f9822c5bd601d80
parenta5a3e77fd6c3a8b61e544b3980bea8b4f62a6a68
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: decc8a74c68c ("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