From 53e7393b4e5fea82f7e7918989e8ab634fd6a91a Mon Sep 17 00:00:00 2001 From: Cillian O'Donnell Date: Sat, 8 Apr 2017 12:17:56 +0100 Subject: [PATCH] powerpc/mvme550/./pci.c: Use inttypes.h constant to fix 1 warning. --- c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c b/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c index 8601721c03..bef0173aa3 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/pci/pci.c @@ -33,6 +33,7 @@ #include #include +#include #define PCI_DEBUG 0 #define PCI_PRINT 1 @@ -294,7 +295,7 @@ int pci_initialize(void) break; default : #if PCI_PRINT - printk("BSP unlisted vendor, Bus%d Slot%d DeviceID 0x%x \n", + printk("BSP unlisted vendor, Bus%d Slot%d DeviceID 0x%" PRIx32 "\n", ucBusNumber,ucSlotNumber, ulDeviceID); #endif /* Kate Feng : device not supported by BSP needs to remap the IRQ line on mvme5500/mvme6100 */