From: Michael McConville Date: Sat, 6 Feb 2016 01:46:25 +0000 (-0500) Subject: dscc4: Undefined signed int shift X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db92ea5d4df00271b57d79c2d03dae5a5d60fcc1;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Michael McConville Acked-by: Francois Romieu Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c index 7a72407208b1..629225980463 100644 --- a/drivers/net/wan/dscc4.c +++ b/drivers/net/wan/dscc4.c @@ -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);