[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 33/67] hw/ipmi: Constify all Property
From: |
Richard Henderson |
Subject: |
[PULL 33/67] hw/ipmi: Constify all Property |
Date: |
Sun, 15 Dec 2024 13:04:59 -0600 |
Acked-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/ipmi/ipmi.c | 2 +-
hw/ipmi/ipmi_bmc_extern.c | 2 +-
hw/ipmi/ipmi_bmc_sim.c | 2 +-
hw/ipmi/isa_ipmi_bt.c | 2 +-
hw/ipmi/isa_ipmi_kcs.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/ipmi/ipmi.c b/hw/ipmi/ipmi.c
index bbb07b151e..850b3bc463 100644
--- a/hw/ipmi/ipmi.c
+++ b/hw/ipmi/ipmi.c
@@ -108,7 +108,7 @@ void ipmi_bmc_find_and_link(Object *obj, Object **bmc)
OBJ_PROP_LINK_STRONG);
}
-static Property ipmi_bmc_properties[] = {
+static const Property ipmi_bmc_properties[] = {
DEFINE_PROP_UINT8("slave_addr", IPMIBmc, slave_addr, 0x20),
DEFINE_PROP_END_OF_LIST(),
};
diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c
index 29c5af3cc3..cfec1da87c 100644
--- a/hw/ipmi/ipmi_bmc_extern.c
+++ b/hw/ipmi/ipmi_bmc_extern.c
@@ -515,7 +515,7 @@ static void ipmi_bmc_extern_finalize(Object *obj)
timer_free(ibe->extern_timer);
}
-static Property ipmi_bmc_extern_properties[] = {
+static const Property ipmi_bmc_extern_properties[] = {
DEFINE_PROP_CHR("chardev", IPMIBmcExtern, chr),
DEFINE_PROP_END_OF_LIST(),
};
diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c
index 33c839c65a..8a55893e89 100644
--- a/hw/ipmi/ipmi_bmc_sim.c
+++ b/hw/ipmi/ipmi_bmc_sim.c
@@ -2191,7 +2191,7 @@ static void ipmi_sim_realize(DeviceState *dev, Error
**errp)
vmstate_register(NULL, 0, &vmstate_ipmi_sim, ibs);
}
-static Property ipmi_sim_properties[] = {
+static const Property ipmi_sim_properties[] = {
DEFINE_PROP_UINT16("fruareasize", IPMIBmcSim, fru.areasize, 1024),
DEFINE_PROP_STRING("frudatafile", IPMIBmcSim, fru.filename),
DEFINE_PROP_STRING("sdrfile", IPMIBmcSim, sdr_filename),
diff --git a/hw/ipmi/isa_ipmi_bt.c b/hw/ipmi/isa_ipmi_bt.c
index 7b36d51494..16062abb31 100644
--- a/hw/ipmi/isa_ipmi_bt.c
+++ b/hw/ipmi/isa_ipmi_bt.c
@@ -135,7 +135,7 @@ static void *isa_ipmi_bt_get_backend_data(IPMIInterface *ii)
return &iib->bt;
}
-static Property ipmi_isa_properties[] = {
+static const Property ipmi_isa_properties[] = {
DEFINE_PROP_UINT32("ioport", ISAIPMIBTDevice, bt.io_base, 0xe4),
DEFINE_PROP_INT32("irq", ISAIPMIBTDevice, isairq, 5),
DEFINE_PROP_END_OF_LIST(),
diff --git a/hw/ipmi/isa_ipmi_kcs.c b/hw/ipmi/isa_ipmi_kcs.c
index f52b32e590..7e7a37659e 100644
--- a/hw/ipmi/isa_ipmi_kcs.c
+++ b/hw/ipmi/isa_ipmi_kcs.c
@@ -142,7 +142,7 @@ static void *isa_ipmi_kcs_get_backend_data(IPMIInterface
*ii)
return &iik->kcs;
}
-static Property ipmi_isa_properties[] = {
+static const Property ipmi_isa_properties[] = {
DEFINE_PROP_UINT32("ioport", ISAIPMIKCSDevice, kcs.io_base, 0xca2),
DEFINE_PROP_INT32("irq", ISAIPMIKCSDevice, isairq, 5),
DEFINE_PROP_END_OF_LIST(),
--
2.43.0
- [PULL 23/67] hw/display: Constify all Property, (continued)
- [PULL 23/67] hw/display: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 22/67] hw/cxl: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 21/67] hw/cpu: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 17/67] hw/block/xen-block: Unexport PropertyInfo, Richard Henderson, 2024/12/15
- [PULL 19/67] hw/char: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 28/67] hw/i386: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 30/67] hw/input: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 36/67] hw/mem: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 25/67] hw/gpio: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 29/67] hw/ide: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 33/67] hw/ipmi: Constify all Property,
Richard Henderson <=
- [PULL 34/67] hw/isa: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 37/67] hw/mips: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 27/67] hw/i2c: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 24/67] hw/dma: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 31/67] hw/intc: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 32/67] hw/ipack: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 35/67] hw/m68k: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 38/67] hw/misc/xlnx-versal-trng: Constify trng_props, Richard Henderson, 2024/12/15
- [PULL 26/67] hw/hyperv: Constify all Property, Richard Henderson, 2024/12/15
- [PULL 39/67] hw/misc: Constify all Property, Richard Henderson, 2024/12/15