]> git.proxmox.com Git - mirror_qemu.git/commit - util/hexdump.c
util/hexdump: Convert to take a void pointer argument
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 22 Aug 2020 18:09:49 +0000 (20:09 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 11 Sep 2020 19:25:59 +0000 (21:25 +0200)
commit67263b33af9506d78558b1edfa5a9bf976dc7b3d
treead3ac55019240c2efb2cb67bcd24cbe0bf76bdbb
parent5ace4cc0e8d818d578b3777a23d477a5e42070eb
util/hexdump: Convert to take a void pointer argument

Most uses of qemu_hexdump() do not take an array of char
as input, forcing use of cast. Since we can use this
helper to dump any kind of buffer, use a pointer to void
argument instead.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20200822180950.1343963-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/dma/xlnx_dpdma.c
hw/net/fsl_etsec/etsec.c
hw/sd/sd.c
hw/usb/redirect.c
include/qemu-common.h
net/colo-compare.c
net/net.c
util/hexdump.c