From owner-p4-projects@FreeBSD.ORG Thu Jul 18 14:35:37 2013 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C80BBCCE; Thu, 18 Jul 2013 14:35:36 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8A1A1CCB for ; Thu, 18 Jul 2013 14:35:36 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [8.8.178.74]) by mx1.freebsd.org (Postfix) with ESMTP id 7BBCB1E2 for ; Thu, 18 Jul 2013 14:35:36 +0000 (UTC) Received: from skunkworks.freebsd.org ([127.0.1.74]) by skunkworks.freebsd.org (8.14.7/8.14.7) with ESMTP id r6IEZaYw051244 for ; Thu, 18 Jul 2013 14:35:36 GMT (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.7/8.14.6/Submit) id r6IEZacv051241 for perforce@freebsd.org; Thu, 18 Jul 2013 14:35:36 GMT (envelope-from jhb@freebsd.org) Date: Thu, 18 Jul 2013 14:35:36 GMT Message-Id: <201307181435.r6IEZacv051241@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin Subject: PERFORCE change 231251 for review To: Perforce Change Reviews Precedence: bulk X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.14 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 14:35:37 -0000 http://p4web.freebsd.org/@@231251?ac=10 Change 231251 by jhb@jhb_jhbbsd on 2013/07/18 14:35:08 Appease GCC. Affected files ... .. //depot/projects/pci/sys/dev/pci/pci_pci.c#41 edit Differences ... ==== //depot/projects/pci/sys/dev/pci/pci_pci.c#41 (text+ko) ==== @@ -1336,11 +1336,11 @@ * of the area above 64k. */ for (i = 0; i < w->count; i++) { - res = w->res[i]; - if (rman_get_end(res) == w->limit) + if (rman_get_end(w->res[i]) == w->limit) break; } KASSERT(i != w->count, ("did not find existing resource")); + res = w->res[i]; /* * Usually the resource we found should match the window's