Re: build failure in Linus' tree with gcc 4.4.3

From: Matt Fleming
Date: Tue Feb 21 2012 - 06:58:25 EST


On Tue, 2012-02-21 at 22:51 +1100, Stephen Rothwell wrote:
> 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 "<<" ?

Oops. Yes.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/