[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m3tx1bt815.fsf@adixit-yct.ra.intel.com>
Date: Thu, 04 Dec 2014 13:33:10 -0800
From: Ashutosh Dixit <ashutosh.dixit@...el.com>
To: Dan Streetman <ddstreet@...e.org>
Cc: Jonathan Corbet <corbet@....net>, Jiri Kosina <jkosina@...e.cz>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Peter Foley <pefoley2@...oley.com>,
Seth Jennings <sjennings@...iantweb.net>,
Randy Dunlap <rdunlap@...radead.org>,
"Yokoyama\, Caz" <caz.yokoyama@...el.com>,
"Chandramouli\, Dasaratharaman"
<dasaratharaman.chandramouli@...el.com>,
"Dutt\, Sudeep" <sudeep.dutt@...el.com>,
"linux-doc\@vger.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Documentation/mic/mpssd: fix compile error on BE platforms
On Thu, Dec 04 2014 at 08:01:15 AM, Dan Streetman <ddstreet@...e.org> wrote:
> Change any use of htole* macro in static context to instead manually check
> for endianness and use __bswap_constant_* macro instead.
>
> The current glibc definitions of the htole* macros don't allow their use
> in a static context; on big endian systems the build fails with:
Instead of building Documentation/mic/mpssd for all architectures, I
have submitted a patch which would build it only for x86_64 since that
is the only place where it will ever be used. This would resolve this
and future builds breaks and also make this patch unnecessary. The
maintainers can decide to accept either or these patches, or even both.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists