qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] [PATCH 0/6] Fix missing ERRP_GUARD() when dereference @errp
@ 2024-02-21  9:43 Zhao Liu
  2024-02-21  9:43 ` [PATCH 1/6] hw/cxl/cxl-host: Fix missing ERRP_GUARD() in cxl_fixed_memory_window_config() Zhao Liu
                   ` (6 more replies)
  0 siblings, 7 replies; 24+ messages in thread
From: Zhao Liu @ 2024-02-21  9:43 UTC (permalink / raw)
  To: Jonathan Cameron, Fan Ni, Laurent Vivier, Alistair Francis,
	Edgar E . Iglesias, Peter Maydell, Michael S . Tsirkin,
	Marcel Apfelbaum, Alex Williamson, Cédric Le Goater,
	Philippe Mathieu-Daudé, Markus Armbruster
  Cc: qemu-devel, qemu-arm, qemu-trivial, Zhao Liu

From: Zhao Liu <zhao1.liu@intel.com>

Hi all,

Thanks to Markus's explanation about ERRP_GUARD() on my previsou
patch [1],

I realize that perhaps more @errp dereference cases need to be
double-checked to ensure that ERRP_GUARD() is being used correctly.

Therefore, there're the patches to add more missing ERRP_GUARD().

[1]: https://lore.kernel.org/qemu-devel/875xz0ojg7.fsf@pond.sub.org/

Thanks and Best Regards,
Zhao

---
Zhao Liu (6):
  hw/cxl/cxl-host: Fix missing ERRP_GUARD() in
    cxl_fixed_memory_window_config()
  hw/display/macfb: Fix missing ERRP_GUARD() in macfb_nubus_realize()
  hw/mem/cxl_type3: Fix missing ERRP_GUARD() in ct3_realize()
  hw/misc/xlnx-versal-trng: Fix missing ERRP_GUARD() in
    trng_prop_fault_event_set()
  hw/pci-bridge/cxl_upstream: Fix missing ERRP_GUARD() in
    cxl_usp_realize()
  hw/vfio/iommufd: Fix missing ERRP_GUARD() in iommufd_cdev_getfd()

 hw/cxl/cxl-host.c            | 1 +
 hw/display/macfb.c           | 1 +
 hw/mem/cxl_type3.c           | 1 +
 hw/misc/xlnx-versal-trng.c   | 2 ++
 hw/pci-bridge/cxl_upstream.c | 1 +
 hw/vfio/iommufd.c            | 1 +
 6 files changed, 7 insertions(+)

-- 
2.34.1



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

end of thread, other threads:[~2024-02-26 15:55 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21  9:43 [PATCH 0/6] [PATCH 0/6] Fix missing ERRP_GUARD() when dereference @errp Zhao Liu
2024-02-21  9:43 ` [PATCH 1/6] hw/cxl/cxl-host: Fix missing ERRP_GUARD() in cxl_fixed_memory_window_config() Zhao Liu
2024-02-21 11:31   ` Markus Armbruster
2024-02-21 15:04     ` Zhao Liu
2024-02-26 15:52       ` Jonathan Cameron via
2024-02-21  9:43 ` [PATCH 2/6] hw/display/macfb: Fix missing ERRP_GUARD() in macfb_nubus_realize() Zhao Liu
2024-02-21 11:32   ` Markus Armbruster
2024-02-21 15:05     ` Zhao Liu
2024-02-21  9:43 ` [PATCH 3/6] hw/mem/cxl_type3: Fix missing ERRP_GUARD() in ct3_realize() Zhao Liu
2024-02-21 11:35   ` Markus Armbruster
2024-02-21 15:11     ` Zhao Liu
2024-02-26 15:53       ` Jonathan Cameron via
2024-02-21  9:43 ` [PATCH 4/6] hw/misc/xlnx-versal-trng: Fix missing ERRP_GUARD() in trng_prop_fault_event_set() Zhao Liu
2024-02-21 11:47   ` Markus Armbruster
2024-02-21 15:06     ` Zhao Liu
2024-02-21  9:43 ` [PATCH 5/6] hw/pci-bridge/cxl_upstream: Fix missing ERRP_GUARD() in cxl_usp_realize() Zhao Liu
2024-02-21 11:49   ` Markus Armbruster
2024-02-21 15:09     ` Zhao Liu
2024-02-26 15:54       ` Jonathan Cameron via
2024-02-21  9:43 ` [PATCH 6/6] hw/vfio/iommufd: Fix missing ERRP_GUARD() in iommufd_cdev_getfd() Zhao Liu
2024-02-21 11:53   ` Markus Armbruster
2024-02-21 15:12     ` Zhao Liu
2024-02-22  6:04 ` [PATCH 0/6] [PATCH 0/6] Fix missing ERRP_GUARD() when dereference @errp Michael Tokarev
2024-02-22  7:29   ` Zhao Liu

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).