qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] hw/qdev-properties: Constify Property* in DeviceClass
@ 2023-02-03 10:12 Philippe Mathieu-Daudé
  2023-02-03 10:12 ` [PATCH 1/4] hw/qdev-properties: Constify Property* in object_field_prop_ptr() Philippe Mathieu-Daudé
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-02-03 10:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Eduardo Habkost, qemu-trivial,
	Daniel P. Berrangé, Philippe Mathieu-Daudé

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-02-23 13:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-03 10:12 [PATCH 0/4] hw/qdev-properties: Constify Property* in DeviceClass Philippe Mathieu-Daudé
2023-02-03 10:12 ` [PATCH 1/4] hw/qdev-properties: Constify Property* in object_field_prop_ptr() Philippe Mathieu-Daudé
2023-02-03 10:12 ` [PATCH 2/4] hw/qdev-properties: Constify Property* in PropertyInfo::print() handler Philippe Mathieu-Daudé
2023-02-03 10:12 ` [PATCH 3/4] hw/qdev-properties: Constify Property* in PropertyInfo::create() handler Philippe Mathieu-Daudé
2023-02-03 10:12 ` [PATCH 4/4] hw/qdev-properties: Constify DeviceClass::props_ field Philippe Mathieu-Daudé
2023-02-23 13:00 ` [PATCH 0/4] hw/qdev-properties: Constify Property* in DeviceClass Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).