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/gpio
Philippe Mathieu-Daudé c7785e2431 hw/gpio/pca9552: Avoid using g_newa()
We have pin_count <= PCA955X_PIN_COUNT_MAX. Having
PCA955X_PIN_COUNT_MAX = 16, it is safe to explicitly
allocate the char buffer on the stack, without g_newa().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20250605193540.59874-2-philmd@linaro.org>
3 weeks ago
..
Kconfig hw/gpio/pca955*: Move Kconfig switches next to implementations 4 months ago
aspeed_gpio.c qom: Have class_init() take a const data argument 2 months ago
bcm2835_gpio.c qom: Have class_init() take a const data argument 2 months ago
bcm2838_gpio.c qom: Have class_init() take a const data argument 2 months ago
gpio_key.c qom: Have class_init() take a const data argument 2 months ago
gpio_pwr.c include: Rename sysemu/ -> system/ 6 months ago
imx_gpio.c hw/gpio/imx_gpio: Fix interpretation of GDIR polarity 2 months ago
meson.build hw/gpio: Remove MAX7310 device 9 months ago
mpc8xxx.c qom: Have class_init() take a const data argument 2 months ago
npcm7xx_gpio.c qom: Have class_init() take a const data argument 2 months ago
nrf51_gpio.c qom: Have class_init() take a const data argument 2 months ago
omap_gpio.c hw/arm: Replace TABs for spaces in OMAP board and device code 2 months ago
pca9552.c hw/gpio/pca9552: Avoid using g_newa() 3 weeks ago
pca9554.c qom: Have class_init() take a const data argument 2 months ago
pcf8574.c qom: Have class_init() take a const data argument 2 months ago
pl061.c qom: Have class_init() take a const data argument 2 months ago
sifive_gpio.c qom: Have class_init() take a const data argument 2 months ago
stm32l4x5_gpio.c qom: Have class_init() take a const data argument 2 months ago
trace-events hw/gpio/imx_gpio: Turn DPRINTF() into trace events 6 months ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
zaurus.c qom: Have class_init() take a const data argument 2 months ago