qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties


From: Bernhard Beschow
Subject: Re: [PATCH 02/24] hw/ide: Constify sysbus_ahci_properties
Date: Wed, 18 Dec 2024 12:31:06 +0000


Am 16. Dezember 2024 03:50:47 UTC schrieb Richard Henderson 
<richard.henderson@linaro.org>:
>Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>---
> hw/ide/ahci-sysbus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/hw/ide/ahci-sysbus.c b/hw/ide/ahci-sysbus.c
>index d43db0923f..2432039290 100644
>--- a/hw/ide/ahci-sysbus.c
>+++ b/hw/ide/ahci-sysbus.c
>@@ -62,7 +62,7 @@ static void sysbus_ahci_realize(DeviceState *dev, Error 
>**errp)
>     ahci_realize(&s->ahci, dev, &address_space_memory);
> }
> 
>-static Property sysbus_ahci_properties[] = {
>+static const Property sysbus_ahci_properties[] = {
>     DEFINE_PROP_UINT32("num-ports", SysbusAHCIState, ahci.ports, 1),
>     DEFINE_PROP_END_OF_LIST(),
> };

Reviewed-by: Bernhard Beschow <shentey@gmail.com>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]