[PATCH] endian: sync {big,little}_endian.h with linux-4.2

Sascha Hauer s.hauer at pengutronix.de
Thu Sep 10 00:14:25 PDT 2015


On Wed, Sep 09, 2015 at 06:57:34PM +0300, Antony Pavlov wrote:
> On Wed, 9 Sep 2015 08:44:35 +0200
> Sascha Hauer <s.hauer at pengutronix.de> wrote:
> 
> > Hi Antony,
> > 
> > On Tue, Sep 08, 2015 at 12:36:45PM +0300, Antony Pavlov wrote:
> > > Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> > > ---
> > > 
> > > This patch makes ehci-hcd.c happy on big-endian MIPS
> > > by importing __constant_cpu_to_le16()
> > > from linux.git/include/uapi/linux/byteorder/big_endian.h
> > > 
> > >  include/linux/byteorder/big_endian.h    | 118 +++++++++++++++++++++-----------
> > >  include/linux/byteorder/little_endian.h | 118 +++++++++++++++++++++-----------
> > >  2 files changed, 156 insertions(+), 80 deletions(-)
> > 
> > Applying: endian: sync {big,little}_endian.h with linux-4.2
> > error: patch failed: include/linux/byteorder/little_endian.h:9
> > error: include/linux/byteorder/little_endian.h: patch does not apply
> > 
> > include/linux/byteorder/little_endian.h hasn't been changed since 2011.
> 
> Hmm, I see a new endian related patch in pengutronix next branch. Please see below.
> 
> > Do you have other patches in your tree?
> 
> Do you have this patch in you local tree?
> 
> commit d192ebe8bb78296d1d86b35cacb7aa3cd5414d7a
> Author: David S. Miller <davem at davemloft.net>
> Date:   Tue Sep 1 15:48:08 2015 +0300

Oh, your patch is based on this one. I applied it atop of it.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list