PERFORCE change 231251 for review

John Baldwin jhb at FreeBSD.org
Thu Jul 18 14:35:37 UTC 2013


http://p4web.freebsd.org/@@231251?ac=10

Change 231251 by jhb at 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


More information about the p4-projects mailing list