mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw/xen: Don't use '#' flag of printf format
Fix code style. Don't use '#' flag of printf format ('%#') in format strings, use '0x' prefix instead Signed-off-by: Xinhao Zhang <zhangxinhao1@huawei.com> Signed-off-by: Kai Deng <dengkai1@huawei.com> Message-Id: <20201104133709.3326630-1-zhangxinhao1@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
2f5f9bc88d
commit
01d152c0bf
3 changed files with 16 additions and 16 deletions
|
@ -1622,7 +1622,7 @@ static int xen_pt_pcie_size_init(XenPCIPassthroughState *s,
|
|||
case PCI_EXP_TYPE_PCIE_BRIDGE:
|
||||
case PCI_EXP_TYPE_RC_EC:
|
||||
default:
|
||||
XEN_PT_ERR(d, "Unsupported device/port type %#x.\n", type);
|
||||
XEN_PT_ERR(d, "Unsupported device/port type 0x%x.\n", type);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
@ -1645,11 +1645,11 @@ static int xen_pt_pcie_size_init(XenPCIPassthroughState *s,
|
|||
case PCI_EXP_TYPE_PCIE_BRIDGE:
|
||||
case PCI_EXP_TYPE_RC_EC:
|
||||
default:
|
||||
XEN_PT_ERR(d, "Unsupported device/port type %#x.\n", type);
|
||||
XEN_PT_ERR(d, "Unsupported device/port type 0x%x.\n", type);
|
||||
return -1;
|
||||
}
|
||||
} else {
|
||||
XEN_PT_ERR(d, "Unsupported capability version %#x.\n", version);
|
||||
XEN_PT_ERR(d, "Unsupported capability version 0x%x.\n", version);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue