shared/pci/detect_raven_bridge.c: Fix printf() format warnings

This commit is contained in:
Joel Sherrill
2017-04-23 20:05:41 -05:00
parent 31908b124f
commit 3f12cfe503

View File

@@ -182,7 +182,7 @@ void detect_host_bridge(void)
printk("Raven MPIC is accessed via memory Space Access at address : %x\n", tmp); printk("Raven MPIC is accessed via memory Space Access at address : %x\n", tmp);
#endif #endif
OpenPIC=(volatile struct OpenPIC *) (tmp + PREP_ISA_MEM_BASE); OpenPIC=(volatile struct OpenPIC *) (tmp + PREP_ISA_MEM_BASE);
printk("OpenPIC found at %x.\n", OpenPIC); printk("OpenPIC found at %p.\n", OpenPIC);
} }
} }