All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Anton Blanchard <anton@samba.org>
Cc: fio@vger.kernel.org
Subject: Re: [PATCH] Fix big endian build
Date: Mon, 07 Nov 2011 14:15:45 +0100	[thread overview]
Message-ID: <4EB7DA01.6010503@kernel.dk> (raw)
In-Reply-To: <20111107224436.3802ff85@kryten>

On 2011-11-07 12:44, Anton Blanchard wrote:
> 
> I get the following error when building fio on PowerPC:
> 
> client.c: In function ‘convert_agg’:
> client.c:641:22: error: invalid operands to binary & (have ‘long double’ and ‘long long unsigned int’)
> 
> It looks like we have things backwards, we should byteswap the
> integer value before we convert it to a double.

Face palm, thanks Anton, applied.

-- 
Jens Axboe


      reply	other threads:[~2011-11-07 13:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-07 11:44 [PATCH] Fix big endian build Anton Blanchard
2011-11-07 13:15 ` Jens Axboe [this message]

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=4EB7DA01.6010503@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=anton@samba.org \
    --cc=fio@vger.kernel.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.