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)
commita3276892db7a588bedc33168e502572008f714a9
treed032412bf4a5a97161bf91b26456c7cd9c10abdc
parenta56c69803f5a2c1cab0228cf1aebf76821ace965
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