bulk: Remove pointless QOM casts
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | scripts: Add qom-cast-macro-clean-cocci-gen.pyMAINTAINERS scripts/ | +50 | 0 replies | |
| 2/2 | bulk: Remove pointless QOM castsblock/ chardev/ hw/ +21 more | +49 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard Henderson |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] bulk: Remove pointless QOM casts
As per Markus suggestion in [*], use Coccinelle to remove pointless QOM cast macro uses. Since we have more than 1000 QOM types, add a script to generate the semantic patch.
[*] https://lore.kernel.org/qemu-devel/[email protected]/
Philippe Mathieu-Daudé (2):
scripts: Add qom-cast-macro-clean-cocci-gen.py
bulk: Remove pointless QOM casts
MAINTAINERS | 1 + block/nbd.c | 4 +- chardev/char-pty.c | 2 +- hw/arm/musicpal.c | 2 +- hw/arm/xlnx-versal.c | 2 +- hw/display/vhost-user-gpu.c | 4 +- hw/intc/loongarch_extioi.c | 6 +-- hw/m68k/q800.c | 2 +- hw/pci-host/bonito.c | 2 +- hw/ppc/pnv_lpc.c | 2 +- hw/ppc/pnv_occ.c | 2 +- hw/ppc/pnv_sbe.c | 2 +- hw/riscv/virt.c | 10 ++--- hw/rx/rx62n.c | 2 +- hw/scsi/esp-pci.c | 18 ++++----- hw/sparc/sun4m.c | 4 +- hw/virtio/virtio-mem-pci.c | 6 +-- hw/virtio/virtio-pmem-pci.c | 6 +-- migration/fd.c | 4 +- migration/multifd.c | 2 +- migration/yank_functions.c | 4 +- nbd/client-connection.c | 2 +- nbd/server.c | 2 +- softmmu/qdev-monitor.c | 2 +- ui/vnc-ws.c | 6 +-- scripts/qom-cast-macro-clean-cocci-gen.py | 49 +++++++++++++++++++++++ 26 files changed, 99 insertions(+), 49 deletions(-) create mode 100644 scripts/qom-cast-macro-clean-cocci-gen.py
Signature · 1 line
2.38.1