qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] misc: Remove variable-length arrays on the stack
@ 2022-08-19 15:39 Peter Maydell
  2022-08-19 15:39 ` [PATCH v2 01/11] chardev/baum: Replace magic values by X_MAX / Y_MAX definitions Peter Maydell
                   ` (11 more replies)
  0 siblings, 12 replies; 20+ messages in thread
From: Peter Maydell @ 2022-08-19 15:39 UTC (permalink / raw)
  To: qemu-devel
  Cc: Philippe Mathieu-Daudé, Samuel Thibault,
	Marc-André Lureau, Michael S. Tsirkin, Marcel Apfelbaum,
	Richard Henderson, Eduardo Habkost, Cédric Le Goater,
	Daniel Henrique Barboza, David Gibson, Greg Kurz, Dmitry Fleytman,
	Daniel P. Berrangé, qemu-ppc

This is a resend of a subset of patches from a series that
Philippe sent out last year:
https://patchew.org/QEMU/20210505211047.1496765-1-philmd@redhat.com/

Basically I just pulled out the patches which:
 (1) trivially applied on a rebase
 (2) had got a Reviewed-by: or at least an Acked-by:

since these should be good to just apply immediately
(well, as soon as we reopen for 7.2 development).

Given they're a mixed bag, I propose to take these via
the target-arm.next tree, unless anybody specifically
wishes to grab specific patches via some other route.

I might come back and have another look at the other
left-behind patches later, but this gets rid of more
than half of the complaints that a -Wvla build reports.

thanks
-- PMM

Philippe Mathieu-Daudé (11):
  chardev/baum: Replace magic values by X_MAX / Y_MAX definitions
  chardev/baum: Use definitions to avoid dynamic stack allocation
  chardev/baum: Avoid dynamic stack allocation
  io/channel-websock: Replace strlen(const_str) by sizeof(const_str) - 1
  hw/net/e1000e_core: Use definition to avoid dynamic stack allocation
  hw/ppc/pnv: Avoid dynamic stack allocation
  hw/intc/xics: Avoid dynamic stack allocation
  hw/i386/multiboot: Avoid dynamic stack allocation
  hw/usb/hcd-ohci: Use definition to avoid dynamic stack allocation
  ui/curses: Avoid dynamic stack allocation
  tests/unit/test-vmstate: Avoid dynamic stack allocation

 chardev/baum.c             | 22 +++++++++++++---------
 hw/i386/multiboot.c        |  5 ++---
 hw/intc/xics.c             |  2 +-
 hw/net/e1000e_core.c       |  7 ++++---
 hw/ppc/pnv.c               |  4 ++--
 hw/ppc/spapr.c             |  8 ++++----
 hw/ppc/spapr_pci_nvlink2.c |  2 +-
 hw/usb/hcd-ohci.c          |  7 ++++---
 io/channel-websock.c       |  2 +-
 tests/unit/test-vmstate.c  |  7 +++----
 ui/curses.c                |  2 +-
 11 files changed, 36 insertions(+), 32 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2022-10-24 23:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-19 15:39 [PATCH v2 00/11] misc: Remove variable-length arrays on the stack Peter Maydell
2022-08-19 15:39 ` [PATCH v2 01/11] chardev/baum: Replace magic values by X_MAX / Y_MAX definitions Peter Maydell
2022-10-24 23:11   ` Richard Henderson
2022-08-19 15:39 ` [PATCH v2 02/11] chardev/baum: Use definitions to avoid dynamic stack allocation Peter Maydell
2022-10-24 23:12   ` Richard Henderson
2022-08-19 15:39 ` [PATCH v2 03/11] chardev/baum: Avoid " Peter Maydell
2022-10-24 23:13   ` Richard Henderson
2022-08-19 15:39 ` [PATCH v2 04/11] io/channel-websock: Replace strlen(const_str) by sizeof(const_str) - 1 Peter Maydell
2022-10-24 23:13   ` Richard Henderson
2022-08-19 15:39 ` [PATCH v2 05/11] hw/net/e1000e_core: Use definition to avoid dynamic stack allocation Peter Maydell
2022-08-19 15:39 ` [PATCH v2 06/11] hw/ppc/pnv: Avoid " Peter Maydell
2022-08-19 17:22   ` Daniel Henrique Barboza
2022-10-24 23:15   ` Richard Henderson
2022-08-19 15:39 ` [PATCH v2 07/11] hw/intc/xics: " Peter Maydell
2022-10-24 23:16   ` Richard Henderson
2022-08-19 15:39 ` [PATCH v2 08/11] hw/i386/multiboot: " Peter Maydell
2022-08-19 15:39 ` [PATCH v2 09/11] hw/usb/hcd-ohci: Use definition to avoid " Peter Maydell
2022-08-19 15:39 ` [PATCH v2 10/11] ui/curses: Avoid " Peter Maydell
2022-08-19 15:39 ` [PATCH v2 11/11] tests/unit/test-vmstate: " Peter Maydell
2022-08-25 14:14 ` [PATCH v2 00/11] misc: Remove variable-length arrays on the stack Philippe Mathieu-Daudé via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).