Date: Thu, 27 Jun 2013 15:39:47 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 230235 for review Message-ID: <201306271539.r5RFdloN032644@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@230235?ac=10 Change 230235 by jhb@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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306271539.r5RFdloN032644>