RTEMS | bsps/mips/malta/pci/pci.c: Correct printf() format specifiers (!574)
Joel Sherrill (@joel)
gitlab at rtems.org
Fri Jul 25 01:21:39 UTC 2025
Joel Sherrill commented on a discussion on bsps/mips/malta/pci/pci.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/574#note_127412
> + 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);
Should be fixed now.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/574#note_127412
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/20250725/d5890b82/attachment-0001.htm>
More information about the bugs
mailing list