4.14-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Wolfram Sang <wsa+rene...@sang-engineering.com>


[ 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+rene...@sang-engineering.com>
Acked-by: Tom Lendacky <thomas.lenda...@amd.com>
Signed-off-by: David S. Miller <da...@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/net/ethernet/amd/xgbe/xgbe-drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c
+++ b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c
@@ -595,7 +595,7 @@ isr_done:
 
                reissue_mask = 1 << 0;
                if (!pdata->per_channel_irq)
-                       reissue_mask |= 0xffff < 4;
+                       reissue_mask |= 0xffff << 4;
 
                XP_IOWRITE(pdata, XP_INT_REISSUE_EN, reissue_mask);
        }


Reply via email to