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>
Showing
- hw/dma/xlnx_dpdma.c 1 addition, 1 deletionhw/dma/xlnx_dpdma.c
- hw/net/fsl_etsec/etsec.c 1 addition, 1 deletionhw/net/fsl_etsec/etsec.c
- hw/sd/sd.c 1 addition, 1 deletionhw/sd/sd.c
- hw/usb/redirect.c 1 addition, 1 deletionhw/usb/redirect.c
- include/qemu-common.h 2 additions, 1 deletioninclude/qemu-common.h
- net/colo-compare.c 6 additions, 6 deletionsnet/colo-compare.c
- net/net.c 1 addition, 1 deletionnet/net.c
- util/hexdump.c 3 additions, 1 deletionutil/hexdump.c
Loading
Please register or sign in to comment