PERFORCE change 230235 for review
John Baldwin
jhb at FreeBSD.org
Thu Jun 27 15:39:48 UTC 2013
http://p4web.freebsd.org/@@230235?ac=10
Change 230235 by jhb at jhb_pipkin on 2013/06/27 15:39:05
Fix an off-by-one error. This now passes allocating a new window
range from scratch.
Affected files ...
.. //depot/projects/pci/sys/dev/pci/pci_pci.c#34 edit
Differences ...
==== //depot/projects/pci/sys/dev/pci/pci_pci.c#34 (text+ko) ====
@@ -1064,10 +1064,10 @@
* The first open region for the window at
* 0 is 0x400-0x4ff.
*/
- if (end - count < 0x400)
+ if (end - count + 1 < 0x400)
continue;
} else {
- if (end - count < base)
+ if (end - count + 1 < base)
continue;
}
More information about the p4-projects
mailing list