All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Ellenberg <lars.ellenberg@linbit.com>
To: Maxim Uvarov <muvarov@ru.mvista.com>
Cc: drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] [DRBD][PATCH] drbd_bitfild_endian.patch
Date: Tue, 27 Nov 2007 11:55:12 +0100	[thread overview]
Message-ID: <20071127105512.GA28512@racke.local> (raw)
In-Reply-To: <474C12E0.6020306@ru.mvista.com>

On Tue, Nov 27, 2007 at 12:51:44PM +0000, Maxim Uvarov wrote:
> By the way, Lars,  don't  use if defined(__LITTLE_ENDIAN) condition 
> because  __LITTLE_ENDIAN and __BIG_ENDIAN are always defined :)

in userland, yes.
in kernel, no.

in kernel there is no "if BYTE_ORDER == __LITTLE_ENDIAN",
there is only "ifdef __LITTLE_ENDIAN".

unless you prove me wrong.

-- 
: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :

  parent reply	other threads:[~2007-11-27 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 16:32 [Drbd-dev] [DRBD][PATCH] drbd_bitfild_endian.patch Maxim Uvarov
2007-11-26 15:06 ` Lars Ellenberg
2007-11-26 19:28   ` Maxim Uvarov
     [not found]   ` <474C12E0.6020306@ru.mvista.com>
2007-11-27 10:55     ` Lars Ellenberg [this message]
2007-12-03 16:52       ` Philipp Reisner

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=20071127105512.GA28512@racke.local \
    --to=lars.ellenberg@linbit.com \
    --cc=drbd-dev@lists.linbit.com \
    --cc=muvarov@ru.mvista.com \
    /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.