All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Paul Brook <paul@codesourcery.com>
Subject: Re: [Qemu-devel] [patch] add byteordered types
Date: Thu, 28 Aug 2008 10:36:04 +0200	[thread overview]
Message-ID: <48B66374.60706@redhat.com> (raw)
In-Reply-To: <48B5957F.3050000@codemonkey.ws>

Anthony Liguori wrote:
> Yeah, AFAIK, it's the only way to enforce this sort of thing but it's
> also ugly.  If we were starting from scratch, I could see the value in
> it but there's already a ton of code that's not going to be using this
> mechanism that noone is going to convert.  That makes me think there
> isn't going to be a lot of value in it and will lead to a lot of overall
> confusion.

Ok, I'll drop the whole struct and accessors stuff and resend with
simple typedefs instead.  So you can use le* and be* types, but it
basically is a documentation thing without gcc actually checking stuff.
 And the existing cpu_to_* macros will do just fine ;)

cheers,
  Gerd

  reply	other threads:[~2008-08-28  8:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-27 11:44 [Qemu-devel] [patch] add byteordered types Gerd Hoffmann
2008-08-27 12:20 ` Paul Brook
2008-08-27 13:04   ` Gerd Hoffmann
2008-08-27 13:24     ` Gerd Hoffmann
2008-08-27 13:55       ` Paul Brook
2008-08-27 14:12     ` M. Warner Losh
2008-08-27 13:56 ` Paul Brook
2008-08-27 14:35   ` Gerd Hoffmann
2008-08-27 14:47     ` M. Warner Losh
2008-08-27 15:06       ` Gerd Hoffmann
2008-08-27 15:49         ` Anthony Liguori
2008-08-27 16:20           ` Gerd Hoffmann
2008-08-27 17:57             ` Anthony Liguori
2008-08-28  8:36               ` Gerd Hoffmann [this message]
2008-08-27 18:19             ` Jamie Lokier

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=48B66374.60706@redhat.com \
    --to=kraxel@redhat.com \
    --cc=paul@codesourcery.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.