Changeset c05d7a9d in rtems for bsps/sparc/shared/pci/gr_701.c


Ignore:
Timestamp:
Dec 21, 2018, 8:43:27 PM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
8f5abea
Parents:
75e1009f
git-author:
Sebastian Huber <sebastian.huber@…> (12/21/18 20:43:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/21/18 20:43:54)
Message:

bsps/sparc: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/sparc/shared/pci/gr_701.c

    r75e1009f rc05d7a9d  
    1616 */
    1717
     18#include <inttypes.h>
    1819#include <stdio.h>
    1920#include <stdlib.h>
     
    345346        printk(" PCI VENDOR: 0x%04x, DEVICE: 0x%04x\n\n\n",
    346347                devinfo->id.vendor, devinfo->id.device);
    347         printk(" PCI BAR[0]: 0x%lx - 0x%lx\n", bar0, bar0 + bar0_size - 1);
    348         printk(" PCI BAR[1]: 0x%lx - 0x%lx\n", bar1, bar1 + bar1_size - 1);
     348        printk(" PCI BAR[0]: 0x%" PRIx32 " - 0x%" PRIx32 "\n",
     349                bar0, bar0 + bar0_size - 1);
     350        printk(" PCI BAR[1]: 0x%" PRIx32 " - 0x%" PRIx32 "\n",
     351                bar1, bar1 + bar1_size - 1);
    349352        printk(" IRQ: %d\n\n\n", devinfo->irq);
    350353
     
    573576        bar1_size = devinfo->resources[1].size;
    574577
    575         printf(" PCI BAR[0]: 0x%lx - 0x%lx\n", bar0, bar0 + bar0_size - 1);
    576         printf(" PCI BAR[1]: 0x%lx - 0x%lx\n", bar1, bar1 + bar1_size - 1);
     578        printf(" PCI BAR[0]: 0x%" PRIx32 " - 0x%" PRIx32 "\n",
     579                bar0, bar0 + bar0_size - 1);
     580        printf(" PCI BAR[1]: 0x%" PRIx32 " - 0x%" PRIx32 "\n",
     581                bar1, bar1 + bar1_size - 1);
    577582        printf(" IRQ:             %d\n", devinfo->irq);
    578583
Note: See TracChangeset for help on using the changeset viewer.