qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Hervé Poussineau" <hpoussin@reactos.org>
To: "Andreas Färber" <afaerber@suse.de>
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:14:19 +0100	[thread overview]
Message-ID: <4F3EC32B.6060705@reactos.org> (raw)
In-Reply-To: <4F3EC09E.2060603@suse.de>

Andreas Färber a écrit :
> 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?

Yes, because I had some problems on different locales/differents OSes. 
Patches generated by "git send-email" were not clean.

>> +static void jazz_led_register(void)
> 
> The convention recently introduced would be jazz_led_register_types.

Will do if I have to respin.

> 
>> +{
>> +    type_register_static(&jazz_led_info);
>> +}
>> +
>> +type_init(jazz_led_register);
> 
> No semicolon necessary.

Will do if I have to respin.

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

Hervé

  reply	other threads:[~2012-02-17 21:14 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
2012-02-17 21:14     ` Hervé Poussineau [this message]
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=4F3EC32B.6060705@reactos.org \
    --to=hpoussin@reactos.org \
    --cc=afaerber@suse.de \
    --cc=aliguori@us.ibm.com \
    --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).