All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/17] buildsys: Replace some deprecated sprintf()
@ 2026-11-05 12:51 Philippe Mathieu-Daudé
  2026-11-05 12:51 ` [PATCH v2 01/17] tests/qtest: Use qemu_hexdump_to_buffer() in qtest_memwrite() Philippe Mathieu-Daudé
                   ` (16 more replies)
  0 siblings, 17 replies; 31+ messages in thread
From: Philippe Mathieu-Daudé @ 2026-11-05 12:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-riscv, qemu-arm, qemu-ppc, Philippe Mathieu-Daudé

v2:
- Use g_strdup_printf (pm215)
- More replacements

Since some time now we get the build output cluttered with
many deprecation warnings, it is becoming hard to notice the
real ones. This series fixes few recurrent use by the
--disable-tcg --enable-hvf build.

(Yes, VOF is not used on HVF x86/ARM64, I haven't
 investigated why it is selected and built).

Philippe Mathieu-Daudé (17):
  tests/qtest: Use qemu_hexdump_to_buffer() in qtest_memwrite()
  tests/qtest/npcm7xx: Replace deprecated sprintf() with
    g_strdup_printf()
  tests/unit/qobject: Replace deprecated sprintf() with
    g_strdup_printf()
  tests/unit/visitor: Replace deprecated sprintf() with snprintf()
  hw/ppc/vof: Replace deprecated sprintf() with snprintf()
  hw/usb/hcd-ohci: Replace deprecated sprintf() with snprintf()
  hw/riscv/platform-ref: Replace deprecated sprintf with g_strdup_printf
  hw/vfio/pci: Replace deprecated sprintf() with g_strdup_printf()
  hw/ppc/spapr: Replace deprecated sprintf() with g_strdup_printf()
  hw/net/eepro100: Replace deprecated sprintf() with snprintf()
  hw/net/rocker: Replace deprecated sprintf() with snprintf()
  hw/scsi: Replace deprecated sprintf() with snprintf()
  target/xtensa: Replace deprecated sprintf() with snprintf()
  target/m68k: Replace deprecated sprintf() with snprintf()
  target/rx: Replace deprecated sprintf() with snprintf()
  libdecnumber: Replace deprecated sprintf() with snprintf()
  qga/vss-win32: Replace deprecated sprintf() by StrCatBuffA()

 hw/net/eepro100.c                        |  2 +-
 hw/net/rocker/rocker.c                   | 24 ++++++------
 hw/ppc/spapr.c                           |  3 +-
 hw/ppc/vof.c                             |  2 +-
 hw/riscv/server_platform_ref.c           | 11 +++---
 hw/scsi/scsi-generic.c                   |  2 +-
 hw/usb/hcd-ohci.c                        |  2 +-
 hw/vfio/pci.c                            |  7 ++--
 libdecnumber/dpd/decimal128.c            |  4 +-
 libdecnumber/dpd/decimal32.c             |  4 +-
 libdecnumber/dpd/decimal64.c             |  4 +-
 target/m68k/translate.c                  |  6 +--
 target/rx/disas.c                        |  2 +-
 target/xtensa/xtensa-isa.c               | 50 +++++++++++++++---------
 tests/qtest/libqtest.c                   |  6 +--
 tests/qtest/npcm7xx_adc-test.c           |  8 ++--
 tests/qtest/npcm7xx_pwm-test.c           | 14 ++-----
 tests/unit/test-qobject-input-visitor.c  |  4 +-
 tests/unit/test-qobject-output-visitor.c |  3 +-
 tests/unit/test-visitor-serialization.c  | 21 ++++++----
 qga/vss-win32/install.cpp                | 17 +++++---
 21 files changed, 102 insertions(+), 94 deletions(-)

-- 
2.55.0



^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2026-11-06 20:01 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-05 12:51 [PATCH v2 00/17] buildsys: Replace some deprecated sprintf() Philippe Mathieu-Daudé
2026-11-05 12:51 ` [PATCH v2 01/17] tests/qtest: Use qemu_hexdump_to_buffer() in qtest_memwrite() Philippe Mathieu-Daudé
2026-11-06 16:02   ` Peter Maydell
2026-11-05 12:51 ` [PATCH v2 02/17] tests/qtest/npcm7xx: Replace deprecated sprintf() with g_strdup_printf() Philippe Mathieu-Daudé
2026-11-05 16:02   ` Alex Bennée
2026-11-06 18:52     ` Hao Wu
2026-11-05 12:51 ` [PATCH v2 03/17] tests/unit/qobject: " Philippe Mathieu-Daudé
2026-11-05 16:03   ` Alex Bennée
2026-11-05 12:51 ` [PATCH v2 04/17] tests/unit/visitor: Replace deprecated sprintf() with snprintf() Philippe Mathieu-Daudé
2026-11-05 12:51 ` [PATCH v2 05/17] hw/ppc/vof: " Philippe Mathieu-Daudé
2026-11-05 12:51 ` [PATCH v2 06/17] hw/usb/hcd-ohci: " Philippe Mathieu-Daudé
2026-11-05 12:51 ` [PATCH v2 07/17] hw/riscv/platform-ref: Replace deprecated sprintf with g_strdup_printf Philippe Mathieu-Daudé
2026-11-05 16:05   ` Alex Bennée
2026-11-05 23:17   ` Alistair Francis
2026-11-05 12:51 ` [PATCH v2 08/17] hw/vfio/pci: Replace deprecated sprintf() with g_strdup_printf() Philippe Mathieu-Daudé
2026-11-05 13:25   ` Cédric Le Goater
2026-11-05 12:51 ` [PATCH v2 09/17] hw/ppc/spapr: " Philippe Mathieu-Daudé
2026-11-05 16:08   ` Alex Bennée
2026-11-05 12:51 ` [PATCH v2 10/17] hw/net/eepro100: Replace deprecated sprintf() with snprintf() Philippe Mathieu-Daudé
2026-11-05 16:12   ` Alex Bennée
2026-11-05 12:51 ` [PATCH v2 11/17] hw/net/rocker: " Philippe Mathieu-Daudé
2026-11-05 12:51 ` [PATCH v2 12/17] hw/scsi: " Philippe Mathieu-Daudé
2026-11-05 12:51 ` [PATCH v2 13/17] target/xtensa: " Philippe Mathieu-Daudé
2026-11-06  2:25   ` Max Filippov
2026-11-05 12:51 ` [PATCH v2 14/17] target/m68k: " Philippe Mathieu-Daudé
2026-11-05 12:52 ` [PATCH v2 15/17] target/rx: " Philippe Mathieu-Daudé
2026-11-06  8:37   ` yoshinori.sato
2026-11-05 12:52 ` [PATCH v2 16/17] libdecnumber: " Philippe Mathieu-Daudé
2026-11-05 12:52 ` [PATCH v2 17/17] qga/vss-win32: Replace deprecated sprintf() by StrCatBuffA() Philippe Mathieu-Daudé
2026-11-05 15:29   ` Kostiantyn Kostiuk
2026-11-05 19:59     ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.