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


Groups > linux.kernel > #1374701

Re: [PATCH v2 1/2] lib: lz4: fixed zram with lz4 on big endian machines

From Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/2] lib: lz4: fixed zram with lz4 on big endian machines
Date 2016-04-10 03:50 +0200
Message-ID <rmcFI-5Ud-3@gated-at.bofh.it> (permalink)
References <rm8iK-2K1-5@gated-at.bofh.it> <rm8iK-2K1-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (04/09/16 22:05), Rui Salvaterra wrote:
> Note that the 64-bit preprocessor test is not a cleanup, it's part of
> the fix, since those identifiers are bogus (for example, __ppc64__
> isn't defined anywhere else in the kernel, which means we'd fall into
> the 32-bit definitions on ppc64).

good find.

> Tested on ppc64 with no regression on x86_64.
> 
> [1] http://marc.info/?l=linux-kernel&m=145994470805853&w=4
> 
> Cc: stable@vger.kernel.org
> Suggested-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>

	-ss

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


Thread

[PATCH v2 1/2] lib: lz4: fixed zram with lz4 on big endian machines Rui Salvaterra <rsalvaterra@gmail.com> - 2016-04-09 23:10 +0200
  Re: [PATCH v2 1/2] lib: lz4: fixed zram with lz4 on big endian  machines Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-04-10 03:50 +0200

csiph-web