diff mbox series

[50/71] hw/remote: Constify all Property

Message ID 20241213190750.2513964-55-richard.henderson@linaro.org (mailing list archive)
State New
Headers show
Series whole-tree: Constify Property structures | expand

Commit Message

Richard Henderson Dec. 13, 2024, 7:07 p.m. UTC
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 hw/remote/proxy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jag Raman Dec. 14, 2024, 2:24 p.m. UTC | #1
> On Dec 13, 2024, at 2:14 PM, Richard Henderson <richard.henderson@linaro.org> wrote:
> 
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Jagannathan Raman <jag.raman@oracle.com>

> ---
> hw/remote/proxy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/remote/proxy.c b/hw/remote/proxy.c
> index 302a0a4d4d..6f84fdd3fa 100644
> --- a/hw/remote/proxy.c
> +++ b/hw/remote/proxy.c
> @@ -191,7 +191,7 @@ static void pci_proxy_write_config(PCIDevice *d, uint32_t addr, uint32_t val,
>     config_op_send(PCI_PROXY_DEV(d), addr, &val, len, MPQEMU_CMD_PCI_CFGWRITE);
> }
> 
> -static Property proxy_properties[] = {
> +static const Property proxy_properties[] = {
>     DEFINE_PROP_STRING("fd", PCIProxyDev, fd),
>     DEFINE_PROP_END_OF_LIST(),
> };
> --
> 2.43.0
>
diff mbox series

Patch

diff --git a/hw/remote/proxy.c b/hw/remote/proxy.c
index 302a0a4d4d..6f84fdd3fa 100644
--- a/hw/remote/proxy.c
+++ b/hw/remote/proxy.c
@@ -191,7 +191,7 @@  static void pci_proxy_write_config(PCIDevice *d, uint32_t addr, uint32_t val,
     config_op_send(PCI_PROXY_DEV(d), addr, &val, len, MPQEMU_CMD_PCI_CFGWRITE);
 }
 
-static Property proxy_properties[] = {
+static const Property proxy_properties[] = {
     DEFINE_PROP_STRING("fd", PCIProxyDev, fd),
     DEFINE_PROP_END_OF_LIST(),
 };