qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Markus Armbruster <armbru@redhat.com>, qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com
Subject: Re: [Qemu-devel] [PATCH 0/3] Purge the silly GLib Basic Types
Date: Fri, 18 Jan 2013 10:17:11 -0600	[thread overview]
Message-ID: <87vcau5uuw.fsf@codemonkey.ws> (raw)
In-Reply-To: <1358525049-31163-1-git-send-email-armbru@redhat.com>

Markus Armbruster <armbru@redhat.com> writes:

> See PATCH 1/3 for rationale.
>
> Markus Armbruster (3):
>   Purge the silly GLib "Basic Types", except for gboolean
>   Purge GLib's gboolean, it's a trap for the unwary
>   checkpatch: Keep out the GLib silliness we just purged

Changing QEMU code to work around checkpatch's failing is insane.

When interacting with glib, use glib types.  Not using those types just
makes the code more difficult to understand.

Regards,

Anthony Liguori

>
>  async.c                            | 12 +++++-------
>  coroutine-gthread.c                |  8 ++++----
>  hw/9pfs/virtio-9p-coth.c           |  2 +-
>  hw/fw_cfg.c                        |  6 +++---
>  hw/qdev-monitor.c                  |  2 +-
>  hw/qdev.c                          |  4 ++--
>  hw/xen_disk.c                      |  6 +++---
>  include/qom/object.h               |  8 ++++----
>  main-loop.c                        |  2 +-
>  qapi/opts-visitor.c                | 10 +++++-----
>  qapi/qmp-input-visitor.c           |  4 ++--
>  qemu-img.c                         |  4 ++--
>  qga/channel-posix.c                | 25 +++++++++++++------------
>  qga/channel-win32.c                | 26 +++++++++++++-------------
>  qga/channel.h                      | 10 +++++-----
>  qga/commands-posix.c               |  6 +++---
>  qga/commands.c                     |  2 +-
>  qga/guest-agent-command-state.c    |  4 ++--
>  qga/guest-agent-core.h             |  2 +-
>  qga/main.c                         | 16 ++++++++--------
>  qom/container.c                    |  2 +-
>  qom/object.c                       | 26 +++++++++++++-------------
>  qtest.c                            |  8 ++++----
>  scripts/checkpatch.pl              | 29 +++++++++++++++++++++++++++++
>  target-alpha/cpu.c                 |  4 ++--
>  target-arm/cpu.c                   |  2 +-
>  target-arm/helper.c                |  4 ++--
>  target-i386/cpu.c                  |  2 +-
>  target-m68k/helper.c               |  4 ++--
>  target-openrisc/cpu.c              |  4 ++--
>  target-ppc/translate_init.c        | 12 ++++++------
>  tests/libqtest.c                   | 20 ++++++++++----------
>  tests/test-visitor-serialization.c | 12 ++++++------
>  trace/simple.c                     |  8 ++++----
>  vl.c                               |  6 +++---
>  35 files changed, 165 insertions(+), 137 deletions(-)
>
> -- 
> 1.7.11.7

  parent reply	other threads:[~2013-01-18 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 16:04 [Qemu-devel] [PATCH 0/3] Purge the silly GLib Basic Types Markus Armbruster
2013-01-18 16:04 ` [Qemu-devel] [PATCH 1/3] Purge the silly GLib "Basic Types", except for gboolean Markus Armbruster
2013-01-18 16:04 ` [Qemu-devel] [PATCH 2/3] Purge GLib's gboolean, it's a trap for the unwary Markus Armbruster
2013-01-18 16:04 ` [Qemu-devel] [PATCH 3/3] checkpatch: Keep out the GLib silliness we just purged Markus Armbruster
2013-01-18 16:17 ` Anthony Liguori [this message]
2013-01-19  9:33   ` [Qemu-devel] [PATCH 0/3] Purge the silly GLib Basic Types Blue Swirl
2013-01-19 10:35     ` Michael Tokarev
2013-01-19 11:20       ` Blue Swirl
2013-01-19 16:47       ` 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=87vcau5uuw.fsf@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=armbru@redhat.com \
    --cc=blauwirbel@gmail.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).