[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/4] hw/qdev-properties: Constify Property* in DeviceClass
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/4] hw/qdev-properties: Constify Property* in DeviceClass |
Date: |
Fri, 3 Feb 2023 11:12:20 +0100 |
Qualify some Property pointers as 'const' when the
structure is accessed read-only.
Philippe Mathieu-Daudé (4):
hw/qdev-properties: Constify Property* in object_field_prop_ptr()
hw/qdev-properties: Constify Property* in PropertyInfo::print()
handler
hw/qdev-properties: Constify Property* in PropertyInfo::create()
handler
hw/qdev-properties: Constify DeviceClass::props_ field
hw/core/qdev-properties-system.c | 2 +-
hw/core/qdev-properties.c | 14 +++++++-------
include/hw/qdev-core.h | 2 +-
include/hw/qdev-properties.h | 6 +++---
softmmu/qdev-monitor.c | 4 ++--
5 files changed, 14 insertions(+), 14 deletions(-)
--
2.38.1
- [PATCH 0/4] hw/qdev-properties: Constify Property* in DeviceClass,
Philippe Mathieu-Daudé <=
- [PATCH 1/4] hw/qdev-properties: Constify Property* in object_field_prop_ptr(), Philippe Mathieu-Daudé, 2023/02/03
- [PATCH 2/4] hw/qdev-properties: Constify Property* in PropertyInfo::print() handler, Philippe Mathieu-Daudé, 2023/02/03
- [PATCH 3/4] hw/qdev-properties: Constify Property* in PropertyInfo::create() handler, Philippe Mathieu-Daudé, 2023/02/03
- [PATCH 4/4] hw/qdev-properties: Constify DeviceClass::props_ field, Philippe Mathieu-Daudé, 2023/02/03
- Re: [PATCH 0/4] hw/qdev-properties: Constify Property* in DeviceClass, Philippe Mathieu-Daudé, 2023/02/23