mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
net: amd-xgbe: fix comparison to bitshift when dealing with a mask
[ Upstream commit a3276892db ]
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c3d7d3a099
commit
94870df33c
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user