Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1208342

Re: [PATCH] spi: Mediatek: fix endian warnings

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] spi: Mediatek: fix endian warnings
Date 2015-08-17 05:40 +0200
Message-ID <pYjrb-3Ie-1@gated-at.bofh.it> (permalink)
References <pWfi2-2FR-5@gated-at.bofh.it> <pXQ5Q-3xm-13@gated-at.bofh.it> <pY6Nj-2kR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Aug 16, 2015 at 03:06:39PM +0100, Russell King - ARM Linux wrote:

> All writel() implementations take a CPU number and write it in little
> endian format.  Hence, writel() almost always uses cpu_to_le32()
> internally.

I think the reason this keeps coming up is that people aren't expecting
writel() to be doing endianness conversion, it's easy to get caught out
by it.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] spi: Mediatek: fix endian warnings Leilk Liu <leilk.liu@mediatek.com> - 2015-08-11 12:50 +0200
  Re: [PATCH] spi: Mediatek: fix endian warnings Jonas Gorski <jogo@openwrt.org> - 2015-08-12 16:50 +0200
    Re: [PATCH] spi: Mediatek: fix endian warnings lei liu <leilk.liu@mediatek.com> - 2015-08-13 04:20 +0200
      Re: [PATCH] spi: Mediatek: fix endian warnings Mark Brown <broonie@kernel.org> - 2015-08-13 11:30 +0200
  Re: [PATCH] spi: Mediatek: fix endian warnings Arnd Bergmann <arnd@arndb.de> - 2015-08-15 22:20 +0200
    Re: [PATCH] spi: Mediatek: fix endian warnings Arnd Bergmann <arnd@arndb.de> - 2015-08-15 22:20 +0200
    Re: [PATCH] spi: Mediatek: fix endian warnings Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-08-16 16:10 +0200
      Re: [PATCH] spi: Mediatek: fix endian warnings Mark Brown <broonie@kernel.org> - 2015-08-17 05:40 +0200

csiph-web