dscc4: Undefined signed int shift
Subsystems (2)
PATCH 1/1 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.
--- drivers/net/wan/dscc4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wan/dscc4.c +1 -1
@@ -1626,7 +1626,7 @@ try:if (state & Xpr) {void __iomem *scc_addr;unsigned long ring; -int i; +unsigned int i;/* * - the busy condition happens (sometimes);
Michael McConville <[email protected]> :
Quoted 6 lines
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.
For all practical matters it doesn't necessarily deserves to be fed through stable.
Signature · 1 line
Ueimor
From: Michael McConville <[email protected]>
Date: Fri, 5 Feb 2016 20:46:25 -0500
Quoted 8 lines
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 Michael McConville <[email protected]>
Applied, thanks.