On Thu, 23 Nov 2023 at 14:38, Philippe Mathieu-Daudé wrote:
>
> The QOM API is lower level than the QDev one. When an instance is
> QDev and setting the property can not fail (using _abort),
> prefer qdev_prop_set_bit() over object_property_set_bool().
>
> Mechanical transformation using the
On 11/23/23 20:08, Philippe Mathieu-Daudé wrote:
The QOM API is lower level than the QDev one. When an instance is
QDev and setting the property can not fail (using _abort),
prefer qdev_prop_set_bit() over object_property_set_bool().
Mechanical transformation using the following coccinelle
> On 23-Nov-2023, at 8:08 PM, Philippe Mathieu-Daudé wrote:
>
> The QOM API is lower level than the QDev one. When an instance is
> QDev and setting the property can not fail (using _abort),
> prefer qdev_prop_set_bit() over object_property_set_bool().
>
> Mechanical transformation using the
The QOM API is lower level than the QDev one. When an instance is
QDev and setting the property can not fail (using _abort),
prefer qdev_prop_set_bit() over object_property_set_bool().
Mechanical transformation using the following coccinelle patch:
@@
expression o, p, v;
@@
-