qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org
Cc: patches@linaro.org
Subject: [Qemu-devel] [PATCH 0/6] Drop cpu_to_*w, *_to_cpup, document cpu_to_*, *_to_cpu
Date: Tue, 28 Jun 2016 15:50:45 +0100	[thread overview]
Message-ID: <1467125451-16700-1-git-send-email-peter.maydell@linaro.org> (raw)

This patchset removes the final uses of the deprecated
cpu_to_*w() and *_to_cpup() conversion functions, and
then removes their implementations. We can then document
the remaining cpu_to_*() and *_to_cpu() conversion functions.

The block/qcow2 patch is in the qcow2 queue but not in master yet;
the hw/bt patch was posted a while back but not yet reviewed;
I've put them in this series so it's self-contained.
The 9p patch I thought I'd posted but apparently not.

Patches 4..6 are definitely new.

This is all pretty safe to go into 2.7, but the only justification
for doing so really is that it gets a pending item off my list
of things-in-flight :-)

thanks
-- PMM


Peter Maydell (6):
  fsdev/9p-iov-marshal.c: Don't use cpu_to_*w() functions
  block/qcow2: Don't use cpu_to_*w()
  hw/bt: Don't use cpu_to_*w() and *_to_cpup()
  bswap.h: Remove unused cpu_to_*w() and *_to_cpup()
  bswap.h: Fix comment typo
  bswap.h: Document cpu_to_* and *_to_cpu conversion functions

 block/qcow2-cluster.c  |  2 +-
 block/qcow2-refcount.c | 11 ++++----
 block/qcow2.c          |  6 ++---
 fsdev/9p-iov-marshal.c | 18 +++++--------
 hw/bt/hci.c            | 10 +++-----
 hw/bt/l2cap.c          | 12 ++++-----
 include/qemu/bswap.h   | 70 ++++++++++++++++++++++++++++++++++++++++++--------
 7 files changed, 83 insertions(+), 46 deletions(-)

-- 
1.9.1

             reply	other threads:[~2016-06-28 14:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 14:50 Peter Maydell [this message]
2016-06-28 14:50 ` [Qemu-devel] [PATCH 1/6] fsdev/9p-iov-marshal.c: Don't use cpu_to_*w() functions Peter Maydell
2016-06-28 15:09   ` Eric Blake
2016-06-28 14:50 ` [Qemu-devel] [PATCH 2/6] block/qcow2: Don't use cpu_to_*w() Peter Maydell
2016-06-28 15:13   ` Eric Blake
2016-06-28 15:13   ` Peter Maydell
2016-06-28 14:50 ` [Qemu-devel] [PATCH 3/6] hw/bt: Don't use cpu_to_*w() and *_to_cpup() Peter Maydell
2016-06-28 15:27   ` Eric Blake
2016-06-28 14:50 ` [Qemu-devel] [PATCH 4/6] bswap.h: Remove unused " Peter Maydell
2016-06-28 15:38   ` Eric Blake
2016-06-28 14:50 ` [Qemu-devel] [PATCH 5/6] bswap.h: Fix comment typo Peter Maydell
2016-06-28 15:05   ` Stefan Weil
2016-06-28 14:50 ` [Qemu-devel] [PATCH 6/6] bswap.h: Document cpu_to_* and *_to_cpu conversion functions Peter Maydell
2016-06-28 14:58   ` Peter Maydell
2016-06-28 15:40   ` Eric Blake

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=1467125451-16700-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=patches@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).