Commit 94870df3 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman

net: amd-xgbe: fix comparison to bitshift when dealing with a mask

[ Upstream commit a3276892 ]

Due to a typo, the mask was destroyed by a comparison instead of a bit
Signed-off-by: default avatarWolfram Sang <>
Acked-by: default avatarTom Lendacky <>
Signed-off-by: default avatarDavid S. Miller <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent c3d7d3a0
......@@ -595,7 +595,7 @@ static void xgbe_isr_task(unsigned long data)
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment