From: Antony Pavlov <antonynpavlov@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] endian: sync {big,little}_endian.h with linux-4.2
Date: Wed, 9 Sep 2015 18:57:34 +0300 [thread overview]
Message-ID: <20150909185734.bd271f2414a72ec9037fe2eb@gmail.com> (raw)
In-Reply-To: <20150909064435.GE18700@pengutronix.de>
On Wed, 9 Sep 2015 08:44:35 +0200
Sascha Hauer <s.hauer@pengutronix.de> wrote:
> Hi Antony,
>
> On Tue, Sep 08, 2015 at 12:36:45PM +0300, Antony Pavlov wrote:
> > Signed-off-by: Antony Pavlov <antonynpavlov@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@davemloft.net>
Date: Tue Sep 1 15:48:08 2015 +0300
endian: Always evaluate arguments
...
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2015-09-09 15:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-08 9:36 Antony Pavlov
2015-09-09 6:44 ` Sascha Hauer
2015-09-09 15:37 ` Antony Pavlov
2015-09-09 15:57 ` Antony Pavlov [this message]
2015-09-10 7:14 ` Sascha Hauer
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=20150909185734.bd271f2414a72ec9037fe2eb@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox