]> 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)
commit94294f38b03180a71332854b828a06c82ca7f711
treed032412bf4a5a97161bf91b26456c7cd9c10abdc
parente6ea383e42257b66824a5c0cdde55757d63d332a
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