]> git.baikalelectronics.ru Git - kernel.git/commit
net: amd-xgbe: fix comparison to bitshift when dealing with a mask
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 5 Feb 2018 20:10:01 +0000 (21:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Feb 2018 16:24:51 +0000 (11:24 -0500)
commit61059612ff0c5872fe10289294f2f0c7af6d2fd0
treed032412bf4a5a97161bf91b26456c7cd9c10abdc
parentbad59544447e389fe48199c0fca1ab272131151b
net: amd-xgbe: fix comparison to bitshift when dealing with a mask

Due to a typo, the mask was destroyed by a comparison instead of a bit
shift.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c