Re: [PATCH] lib : lz4 using put_unaligned_le16 instead of put_unaligned

From: Greg KH
Date: Mon Jul 21 2014 - 22:11:43 EST


On Tue, Jul 22, 2014 at 02:03:22AM +0000, Eunbong Song wrote:
>
> In case of mips bigendian machine, put_unaligned writes bigendian bytes order.
> This is defined in arch/mips/include/asm/unaligned.h. So it's right use put_unaligned_le16 function instead of put_unaligned.
> This patch also fixes problem fail to mount zram ext4 partition with "zram: Decompression failed! err=-1, page=0" in mips bigendian machine.

Odd line wrapping :(

Anyway, is this a new problem? Or something that has always been there
in this compression function?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/