From: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
qemu-trivial@nongnu.org,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Paolo Bonzini" <pbonzini@redhat.com>
Subject: [PATCH 0/2] hw/core: Make qdev_pass_gpios/sysbus_pass_irq arguments self-describing
Date: Tue, 18 Aug 2020 16:38:23 +0200 [thread overview]
Message-ID: <20200818143825.691110-1-f4bug@amsat.org> (raw)
Simply rename qdev_pass_gpios() and sysbus_pass_irq() arguments using
self-describing names, to make the direction the GPIO/IRQ lines are
passed obvious.
Note, currently each function arguments are inverted :)
- qdev_pass_gpios: (from -> to)
- sysbus_pass_irq: (to -> from)
Philippe Mathieu-Daudé (2):
hw/core/qdev: Make qdev_pass_gpios() arguments self-describing
hw/core/sysbus: Make sysbus_pass_irq() arguments self-describing
include/hw/qdev-core.h | 10 +++++-----
include/hw/sysbus.h | 7 ++++++-
hw/core/qdev.c | 14 +++++++-------
hw/core/sysbus.c | 5 ++---
4 files changed, 20 insertions(+), 16 deletions(-)
--
2.26.2
next reply other threads:[~2020-08-18 15:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-18 14:38 Philippe Mathieu-Daudé [this message]
2020-08-18 14:38 ` [PATCH 1/2] hw/core/qdev: Make qdev_pass_gpios() arguments self-describing Philippe Mathieu-Daudé
2020-08-25 15:00 ` Peter Maydell
2020-08-18 14:38 ` [PATCH 2/2] hw/core/sysbus: Make sysbus_pass_irq() " Philippe Mathieu-Daudé
2020-08-25 15:04 ` Peter Maydell
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=20200818143825.691110-1-f4bug@amsat.org \
--to=f4bug@amsat.org \
--cc=berrange@redhat.com \
--cc=ehabkost@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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).