[Qemu-devel] [PULL 1/2] Xen: fix converity warning of xen_pt_config_init()

2016-08-12 Thread Stefano Stabellini
From: Cao jin emu_regs is a pointer, ARRAY_SIZE doesn't return what we expect. Since the remaining message is enough for debugging, so just remove it. Also tweaked the message a little. Signed-off-by: Cao jin Signed-off-by: Stefano Stabellini Acked-by: Stefano Stabellini --- hw/xen/xen_pt_co

[Qemu-devel] [PULL 1/2] Xen: fix converity warning of xen_pt_config_init()

2016-08-12 Thread Stefano Stabellini
From: Cao jin emu_regs is a pointer, ARRAY_SIZE doesn't return what we expect. Since the remaining message is enough for debugging, so just remove it. Also tweaked the message a little. Signed-off-by: Cao jin --- hw/xen/xen_pt_config_init.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletio