From: Andrew Morton arch/x86_64/pci/mmconfig.c: In function 'pci_mmcfg_init': arch/x86_64/pci/mmconfig.c:216: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'u64' Cc: "Moore, Robert" Cc: Len Brown Signed-off-by: Andrew Morton --- arch/x86_64/pci/mmconfig.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN arch/x86_64/pci/mmconfig.c~git-acpi-mmconfig-warning-fix arch/x86_64/pci/mmconfig.c --- a/arch/x86_64/pci/mmconfig.c~git-acpi-mmconfig-warning-fix +++ a/arch/x86_64/pci/mmconfig.c @@ -212,8 +212,9 @@ void __init pci_mmcfg_init(int type) if (type == 1 && !e820_all_mapped(pci_mmcfg_config[0].address, pci_mmcfg_config[0].address + MMCONFIG_APER_MIN, E820_RESERVED)) { - printk(KERN_ERR "PCI: BIOS Bug: MCFG area at %x is not E820-reserved\n", - pci_mmcfg_config[0].address); + printk(KERN_ERR "PCI: BIOS Bug: MCFG area at %llx is not " + "E820-reserved\n", + (unsigned long long)pci_mmcfg_config[0].address); printk(KERN_ERR "PCI: Not using MMCONFIG.\n"); return; } _