qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: "Hervé Poussineau" <hpoussin@reactos.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v4 2/3] jazz-led: convert to QOM
Date: Fri, 17 Feb 2012 22:03:26 +0100	[thread overview]
Message-ID: <4F3EC09E.2060603@suse.de> (raw)
In-Reply-To: <1329506837-30084-3-git-send-email-hpoussin@reactos.org>

Am 17.02.2012 20:27, schrieb Hervé Poussineau:
> Some simplifications in I/O functions are possible because
> Jazz LED only registers one byte of I/O.
> 
> Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
> ---
>  hw/jazz_led.c  |  159 +++++++++++++++++++++++++-------------------------------
>  hw/mips.h      |    3 -
>  hw/mips_jazz.c |    2 +-
>  3 files changed, 71 insertions(+), 93 deletions(-)
> 
> diff --git a/hw/jazz_led.c b/hw/jazz_led.c
> index 1af9268..5d8040b 100644
> --- a/hw/jazz_led.c
> +++ b/hw/jazz_led.c
> @@ -1,7 +1,7 @@
>  /*
>   * QEMU JAZZ LED emulator.
>   *
> - * Copyright (c) 2007 Hervé Poussineau
> + * Copyright (c) 2007-2012 Herve Poussineau

Did you intentionally drop the accent from your name?

> +static void jazz_led_register(void)

The convention recently introduced would be jazz_led_register_types.

> +{
> +    type_register_static(&jazz_led_info);
> +}
> +
> +type_init(jazz_led_register);

No semicolon necessary.

The ops change looks good, and we're still stuck with SysBus for a bit
so just these minor nits.

Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2012-02-17 21:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17 19:27 [Qemu-devel] [PATCH v4 0/3] jazz-led: QOM conversion Hervé Poussineau
2012-02-17 19:27 ` [Qemu-devel] [PATCH v4 1/3] jazz-led: use trace framework Hervé Poussineau
2012-02-17 19:27 ` [Qemu-devel] [PATCH v4 2/3] jazz-led: convert to QOM Hervé Poussineau
2012-02-17 21:03   ` Andreas Färber [this message]
2012-02-17 21:14     ` Hervé Poussineau
2012-02-17 19:27 ` [Qemu-devel] [PATCH v4 3/3] jazz-led: compile it only twice Hervé Poussineau
2012-02-22 18:54 ` [Qemu-devel] [PATCH v4 0/3] jazz-led: QOM conversion Anthony Liguori

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=4F3EC09E.2060603@suse.de \
    --to=afaerber@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=hpoussin@reactos.org \
    --cc=qemu-devel@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).