4 at 06:27:25PM -0400, Michael S. Tsirkin wrote:
> Date: Tue, 12 Mar 2024 18:27:25 -0400
> From: "Michael S. Tsirkin"
> Subject: [PULL 37/68] hw/pci-bridge/cxl_upstream: Fix missing ERRP_GUARD()
> in cxl_usp_realize()
> X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1
>
&g
From: Zhao Liu
As the comment in qapi/error, dereferencing @errp requires
ERRP_GUARD():
* = Why, when and how to use ERRP_GUARD() =
*
* Without ERRP_GUARD(), use of the @errp parameter is restricted:
* - It must not be dereferenced, because it may be null.
...
* ERRP_GUARD() lifts these restrict