]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 15 Mar 2018 13:27:51 +0000 (08:27 -0500)
commit0f77d277778f37c5b830523dfb125ba1f11f55f0
tree0f29b34992d9a4855213f562795fffdd89b8c1d4
parentab1193d7752e8fbadf6ef21a868a4a4f0828734d
net: amd-xgbe: fix comparison to bitshift when dealing with a mask

BugLink: http://bugs.launchpad.net/bugs/1755179
[ 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>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c