On 18/08/2026 12:11, Marc-André Lureau wrote:

The setter uses visit_type_uint32, not visit_type_int.

Fixes: f74e78220dbf ("acpi/pci: Move Generic Initiator object handling into 
acpi/pci.*")
Fixes: a82fe8291643 ("hw/acpi: Generic Port Affinity Structure support")
Signed-off-by: Marc-André Lureau <[email protected]>
---
  hw/acpi/pci.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/acpi/pci.c b/hw/acpi/pci.c
index 8c7ed104796d..c82924be8620 100644
--- a/hw/acpi/pci.c
+++ b/hw/acpi/pci.c
@@ -139,7 +139,7 @@ static void acpi_generic_initiator_class_init(ObjectClass 
*oc, const void *data)
          acpi_generic_initiator_set_pci_device);
      object_class_property_set_description(oc, "pci-dev",
          "PCI device to associate with the node");
-    object_class_property_add(oc, "node", "int", NULL,
+    object_class_property_add(oc, "node", "uint32", NULL,
          acpi_generic_initiator_set_node, NULL, NULL);
      object_class_property_set_description(oc, "node",
          "NUMA node associated with the PCI device");
@@ -253,7 +253,7 @@ static void acpi_generic_port_class_init(ObjectClass *oc, 
const void *data)
          acpi_generic_port_set_pci_bus);
      object_class_property_set_description(oc, "pci-bus",
         "PCI Bus of the host bridge associated with this GP affinity 
structure");
-    object_class_property_add(oc, "node", "int", NULL,
+    object_class_property_add(oc, "node", "uint32", NULL,
          acpi_generic_port_set_node, NULL, NULL);
      object_class_property_set_description(oc, "node",
         "The NUMA node like ID to index HMAT/SLIT NUMA properties involving 
GP");

Reviewed-by: Mark Cave-Ayland <[email protected]>


ATB,

Mark.


Reply via email to