You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/char
Markus Armbruster 0a553c12c7 Drop useless casts from g_malloc() & friends to pointer
These memory allocation functions return void *, and casting to
another pointer type is useless clutter.  Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2 years ago
..
Kconfig hw/char: Add config for shakti uart 3 years ago
avr_usart.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
bcm2835_aux.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
cadence_uart.c hw/char: cadence_uart: Log a guest error when device is unclocked or in reset 3 years ago
cmsdk-apb-uart.c chardev: mark explicitly first argument as poisoned 3 years ago
debugcon.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
digic-uart.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
escc.c hw/char: fix qcode array bounds check in ESCC impl 3 years ago
etraxfs_ser.c hw: Replace anti-social QOM type names 4 years ago
exynos4210_uart.c Drop useless casts from g_malloc() & friends to pointer 2 years ago
goldfish_tty.c hw/m68k: Fix typo in SPDX tag 3 years ago
grlib_apbuart.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
ibex_uart.c hw/char: ibex_uart: Register device in 'input' category 3 years ago
imx_serial.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
ipoctal232.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
mcf_uart.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
mchp_pfsoc_mmuart.c hw/char/mchp_pfsoc_mmuart: QOM'ify PolarFire MMUART 3 years ago
meson.build hw/char: Add config for shakti uart 3 years ago
nrf51_uart.c chardev: mark explicitly first argument as poisoned 3 years ago
omap_uart.c serial: start making SerialMM a sysbus device 5 years ago
parallel-isa.c isa: Convert uses of isa_create() with Coccinelle 5 years ago
parallel.c acpi: parallel port: replace ISADeviceClass::build_aml with AcpiDevAmlIfClass:build_dev_aml 2 years ago
pl011.c hw/char/pl011: fix baud rate calculation 2 years ago
renesas_sci.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
riscv_htif.c Use g_new() & friends where that makes obvious sense 3 years ago
sclpconsole-lm.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
sclpconsole.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
serial-isa.c acpi: serial-is: replace ISADeviceClass::build_aml with AcpiDevAmlIfClass:build_dev_aml 2 years ago
serial-pci-multi.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago
serial-pci.c hw/char/serial-{isa, pci}: Alias QDEV properties from generic serial object 4 years ago
serial.c serial: Allow unaligned i/o access 2 years ago
sh_serial.c hw/char/sh_serial: Add device id to trace output 3 years ago
shakti_uart.c hw/char: shakti_uart: Register device in 'input' category 3 years ago
sifive_uart.c hw/char: sifive_uart: Register device in 'input' category 3 years ago
spapr_vty.c Do not include cpu.h if it's not really necessary 4 years ago
stm32f2xx_usart.c Fix STM32F2XX USART data register readout 3 years ago
terminal3270.c s390x: css: report errors from ccw_dstream_read/write 4 years ago
trace-events hw/char/sh_serial: Add device id to trace output 3 years ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
virtio-console.c chardev: mark explicitly first argument as poisoned 3 years ago
virtio-serial-bus.c virtio: drop name parameter for virtio_init() 3 years ago
xen_console.c Include sysemu/sysemu.h a lot less 5 years ago
xilinx_uartlite.c qdev: Move softmmu properties to qdev-properties-system.h 4 years ago