提交 db92ea5d 编写于 作者: M Michael McConville 提交者: David S. Miller

dscc4: Undefined signed int shift

My analysis in the below mail applies, although the second part is
unnecessary because i isn't used in arithmetic operations here:

https://marc.info/?l=openbsd-tech&m=145377854103866&w=2

Thanks for your time.
Signed-off-by: NMichael McConville <mmcco@mykolab.com>
Acked-by: NFrancois Romieu <romieu@fr.zoreil.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 66d9cd0f
......@@ -1626,7 +1626,7 @@ static void dscc4_tx_irq(struct dscc4_pci_priv *ppriv,
if (state & Xpr) {
void __iomem *scc_addr;
unsigned long ring;
int i;
unsigned int i;
/*
* - the busy condition happens (sometimes);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册