On 23/2/24 09:56, Zhao Liu wrote:
From: Zhao Liu <zhao1....@intel.com>

IOAPICCommonClass implements its own private realize(), and this private
realize() allows error.

Since IOAPICCommonClass.realize() returns void, to check the error,
dereference @errp with ERRP_GUARD().

Signed-off-by: Zhao Liu <zhao1....@intel.com>
---
v2:
  * Add the missing ERRP_GUARD(). (Markus)
  * Move this single patch into @errp fixing series. (Micheal)
---
  hw/intc/ioapic_common.c | 4 ++++
  1 file changed, 4 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to