RTEMS | bsps/mips/malta/pci/pci.c: Correct printf() format specifiers (!574)

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Jul 15 22:53:01 UTC 2025




Gedare Bloom commented on a discussion on bsps/mips/malta/pci/pci.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/574#note_126562

 > +  printk("***    PCI DEVICE BAR0: 0x%ulx\n", addr);
 >    pci_read_config_dword (0, slot, func, PCI_BASE_ADDRESS_1, &addr);
 > -  printk("***    PCI DEVICE BAR1: 0x%lx\n", addr);
 > +  printk("***    PCI DEVICE BAR1: 0x%ulx\n", addr);
 >    pci_read_config_dword (0, slot, func, PCI_BASE_ADDRESS_2, &addr);
 > -  printk("***    PCI DEVICE BAR2: 0x%lx\n", addr);
 > +  printk("***    PCI DEVICE BAR2: 0x%ulx\n", addr);
 >    pci_read_config_dword (0, slot, func, PCI_BASE_ADDRESS_3, &addr);
 > -  printk("***    PCI DEVICE BAR3: 0x%lx\n", addr);
 > +  printk("***    PCI DEVICE BAR3: 0x%ulx\n", addr);
 >    pci_read_config_dword (0, slot, func, PCI_BASE_ADDRESS_4, &addr);
 > -  printk("***    PCI DEVICE BAR4: 0x%lx\n", addr);
 > +  printk("***    PCI DEVICE BAR4: 0x%ulx\n", addr);
 >    pci_read_config_dword (0, slot, func, PCI_BASE_ADDRESS_5, &addr);
 > -  printk("***    PCI DEVICE BAR5: 0x%lx\n", addr);
 > +  printk("***    PCI DEVICE BAR5: 0x%ulx\n", addr);

or PRIu32?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/574#note_126562
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250715/bede9b0c/attachment-0001.htm>


More information about the bugs mailing list