qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 09/11] hw/rx/rx62n: Use qdev_prop_set_array()


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 09/11] hw/rx/rx62n: Use qdev_prop_set_array()
Date: Mon, 11 Sep 2023 22:52:27 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

On 8/9/23 16:37, Kevin Wolf wrote:
Instead of manually setting "foo-len" and "foo[i]" properties, build a
QList and use the new qdev_prop_set_array() helper to set the whole
array property with a single call.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
  hw/rx/rx62n.c | 19 ++++++++++---------
  1 file changed, 10 insertions(+), 9 deletions(-)

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




reply via email to

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