Re: build failure in Linus' tree with gcc 4.4.3

From: Stephen Rothwell
Date: Tue Feb 21 2012 - 06:51:41 EST


Hi Matt,

On Tue, 21 Feb 2012 11:32:13 +0000 Matt Fleming <matt.fleming@xxxxxxxxx> wrote:
>
> +static inline u32 read32_le(u8 *src)
> +{
> + u32 data;
> +
> + data = *src++;
> + data |= *src++ >> 8;
> + data |= *src++ >> 16;
> + data |= *src++ >> 24;

Shouldn't these be "<<" ?

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature