[RTEMS Project] #3062: When a PCI addreess range is empty PCI Library Programs Bridges with errouneous address range

RTEMS trac trac at rtems.org
Wed Jul 5 19:57:35 UTC 2017


#3062: When a PCI addreess range is empty PCI Library Programs Bridges with
errouneous address range
--------------------------+-----------------------
 Reporter:  Jeffrey Hill  |       Owner:  Ben Gras
     Type:  defect        |      Status:  assigned
 Priority:  normal        |   Milestone:
Component:  cpukit        |     Version:  4.11
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by Jeffrey Hill):

 This change still appears to be needed

 {{{
 @@ -703,47 +707,49 @@ static void pci_set_bar(struct pci_dev *dev, int
 residx)
         if ((res->flags == 0) || (res->flags & PCI_RES_FAIL))
                 return;

 +  if ( res->end <= res->start )
 +               return;
 +
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3062#comment:6>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list