svn commit: r290214 - head/sys/mips/atheros
Adrian Chadd
adrian at FreeBSD.org
Fri Oct 30 23:09:10 UTC 2015
Author: adrian
Date: Fri Oct 30 23:09:08 2015
New Revision: 290214
URL: https://svnweb.freebsd.org/changeset/base/290214
Log:
arge: just use 1U since it's a 32 bit unsigned destination value.
Modified:
head/sys/mips/atheros/if_arge.c
Modified: head/sys/mips/atheros/if_arge.c
==============================================================================
--- head/sys/mips/atheros/if_arge.c Fri Oct 30 23:07:32 2015 (r290213)
+++ head/sys/mips/atheros/if_arge.c Fri Oct 30 23:09:08 2015 (r290214)
@@ -2492,7 +2492,7 @@ arge_intr(void *arg)
#ifdef ARGE_DEBUG
for (i = 0; i < 32; i++) {
- if (status & (1 << i)) {
+ if (status & (1U << i)) {
sc->intr_stats.count[i]++;
}
}
More information about the svn-src-all
mailing list