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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 06:41:08 +0000 (22:41 -0800)
commit94870df33c9bf52a9be3ed750670520aad43a44e
tree5272d82a41c20f8a2167245d128550aac0142bfa
parentc3d7d3a099f69277858499adc67cd318a54b030d
net: amd-xgbe: fix comparison to bitshift when dealing with a mask

[ Upstream commit a3276892db7a588bedc33168e502572008f714a9 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c