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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 9 Sep 2015 08:44:35 +0200
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:

> Hi Antony,
> 
> On Tue, Sep 08, 2015 at 12:36:45PM +0300, Antony Pavlov wrote:
> > Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
> > ---
> > 
> > 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@xxxxxxxxxxxxx>
Date:   Tue Sep 1 15:48:08 2015 +0300

    endian: Always evaluate arguments

...

    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx>
    Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>

 include/linux/byteorder/big_endian.h    | 12 ++++++------
 include/linux/byteorder/little_endian.h | 12 ++++++------


> 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 |


-- 
-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux