From owner-svn-src-head@freebsd.org Wed Oct 28 23:39:35 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46AB5A20C13; Wed, 28 Oct 2015 23:39:35 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 13FA31C9F; Wed, 28 Oct 2015 23:39:35 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9SNdYBF062212; Wed, 28 Oct 2015 23:39:34 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9SNdY1X062211; Wed, 28 Oct 2015 23:39:34 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201510282339.t9SNdY1X062211@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Wed, 28 Oct 2015 23:39:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290123 - head/sys/mips/atheros X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2015 23:39:35 -0000 Author: adrian Date: Wed Oct 28 23:39:33 2015 New Revision: 290123 URL: https://svnweb.freebsd.org/changeset/base/290123 Log: Oops - use the wrong array offset. Modified: head/sys/mips/atheros/if_arge.c Modified: head/sys/mips/atheros/if_arge.c ============================================================================== --- head/sys/mips/atheros/if_arge.c Wed Oct 28 22:57:51 2015 (r290122) +++ head/sys/mips/atheros/if_arge.c Wed Oct 28 23:39:33 2015 (r290123) @@ -2485,7 +2485,7 @@ arge_intr(void *arg) #ifdef ARGE_DEBUG for (i = 0; i < 32; i++) { if (status & (1 << i)) { - sc->intr_stats.count[1 << i]++; + sc->intr_stats.count[i]++; } } #endif