Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 23:09:09 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290214 - head/sys/mips/atheros
Message-ID:  <201510302309.t9UN9919099416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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]++;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510302309.t9UN9919099416>