Hi, recently I found some code style problems while using checkpatch.pl tool,please review.
Date: Tue, 3 Nov 2020 11:01:40 +0800 Subject: [PATCH] Don't use '#' flag of printf format signed-off-by: Haoyu Chai<chaihao...@huawei.com> --- softmmu/device_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/softmmu/device_tree.c b/softmmu/device_tree.c index b335dae707..c70215ba6a 100644 --- a/softmmu/device_tree.c +++ b/softmmu/device_tree.c @@ -367,7 +367,7 @@ int qemu_fdt_setprop_cell(void *fdt, const char *node_path, r = fdt_setprop_cell(fdt, findnode_nofail(fdt, node_path), property, val); if (r < 0) { - error_report("%s: Couldn't set %s/%s = %#08x: %s", __func__, + error_report("%s: Couldn't set %s/%s = 0x%08x: %s", __func__, node_path, property, val, fdt_strerror(r)); exit(1); } -- 2.29.1.59.gf9b6481aed