qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>, qemu-devel@nongnu.org
Cc: "Daniel P. Berrange" <berrange@redhat.com>,
	"Cornelia Huck" <cohuck@redhat.com>,
	"Halil Pasic" <pasic@linux.ibm.com>,
	"Christian Borntraeger" <borntraeger@de.ibm.com>,
	qemu-s390x@nongnu.org,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH 4/8] sclpconsole: Use TYPE_* constants
Date: Thu, 27 Aug 2020 06:42:33 +0200	[thread overview]
Message-ID: <0e627a97-f362-65fb-0683-2a8ff279092b@redhat.com> (raw)
In-Reply-To: <20200826184334.4120620-5-ehabkost@redhat.com>

On 26/08/2020 20.43, Eduardo Habkost wrote:
> This will make future conversion to use OBJECT_DECLARE* easier.
> 
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
> Cc: Cornelia Huck <cohuck@redhat.com>
> Cc: Halil Pasic <pasic@linux.ibm.com>
> Cc: Christian Borntraeger <borntraeger@de.ibm.com>
> Cc: Thomas Huth <thuth@redhat.com>
> Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: qemu-s390x@nongnu.org
> Cc: qemu-devel@nongnu.org
> ---
>  hw/char/sclpconsole-lm.c | 2 +-
>  hw/char/sclpconsole.c    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/char/sclpconsole-lm.c b/hw/char/sclpconsole-lm.c
> index 2b5f37b6a2..5848b4e9c5 100644
> --- a/hw/char/sclpconsole-lm.c
> +++ b/hw/char/sclpconsole-lm.c
> @@ -355,7 +355,7 @@ static void console_class_init(ObjectClass *klass, void *data)
>  }
>  
>  static const TypeInfo sclp_console_info = {
> -    .name          = "sclplmconsole",
> +    .name          = TYPE_SCLPLM_CONSOLE,
>      .parent        = TYPE_SCLP_EVENT,
>      .instance_size = sizeof(SCLPConsoleLM),
>      .class_init    = console_class_init,
> diff --git a/hw/char/sclpconsole.c b/hw/char/sclpconsole.c
> index 5c7664905e..d6f7da0818 100644
> --- a/hw/char/sclpconsole.c
> +++ b/hw/char/sclpconsole.c
> @@ -271,7 +271,7 @@ static void console_class_init(ObjectClass *klass, void *data)
>  }
>  
>  static const TypeInfo sclp_console_info = {
> -    .name          = "sclpconsole",
> +    .name          = TYPE_SCLP_CONSOLE,
>      .parent        = TYPE_SCLP_EVENT,
>      .instance_size = sizeof(SCLPConsole),
>      .class_init    = console_class_init,
> 

Reviewed-by: Thomas Huth <thuth@redhat.com>



  parent reply	other threads:[~2020-08-27  4:43 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-26 18:43 [PATCH 0/8] qom: Use TYPE_* constants Eduardo Habkost
2020-08-26 18:43 ` [PATCH 1/8] etsec: Use TYPE_ETSEC_COMMON constant Eduardo Habkost
2020-08-27  0:01   ` David Gibson
2020-08-27  1:27   ` Li Qiang
2020-08-26 18:43 ` [PATCH 2/8] nios2_iic: Use TYPE_ALTERA_IIC constant Eduardo Habkost
2020-08-27  1:28   ` Li Qiang
2020-08-26 18:43 ` [PATCH 3/8] amd_iommu: Use TYPE_AMD_IOMMU_PCI constant Eduardo Habkost
2020-08-27  1:29   ` Li Qiang
2020-08-27 12:07   ` Michael S. Tsirkin
2020-08-26 18:43 ` [PATCH 4/8] sclpconsole: Use TYPE_* constants Eduardo Habkost
2020-08-27  1:29   ` Li Qiang
2020-08-27  4:42   ` Thomas Huth [this message]
2020-08-27  7:14   ` Cornelia Huck
2020-08-26 18:43 ` [PATCH 5/8] xlnx-zcu102: Use TYPE_ZCU102_MACHINE constant Eduardo Habkost
2020-08-26 18:44   ` Edgar E. Iglesias
2020-08-26 19:25   ` Alistair Francis
2020-08-27  1:31   ` Li Qiang
2020-08-26 18:43 ` [PATCH 6/8] tosa: Use TYPE_TOSA_MISC_GPIO constant Eduardo Habkost
2020-08-27  1:32   ` Li Qiang
2020-08-26 18:43 ` [PATCH 7/8] ppce500: Use TYPE_PPC_E500_PCI_BRIDGE constant Eduardo Habkost
2020-08-27  0:01   ` David Gibson
2020-08-27  1:32   ` Li Qiang
2020-08-26 18:43 ` [PATCH 8/8] dc390: Use TYPE_DC390_DEVICE constant Eduardo Habkost
2020-08-27  1:33   ` Li Qiang
2020-08-27 18:22 ` [PATCH 0/8] qom: Use TYPE_* constants Eduardo Habkost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e627a97-f362-65fb-0683-2a8ff279092b@redhat.com \
    --to=thuth@redhat.com \
    --cc=berrange@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=marcandre.lureau@redhat.com \
    --cc=pasic@linux.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).