Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752812AbaGVDPg (ORCPT ); Mon, 21 Jul 2014 23:15:36 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:63506 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbaGVDPe (ORCPT ); Mon, 21 Jul 2014 23:15:34 -0400 X-AuditID: cbfee68e-b7fb96d000004bfc-44-53cdd7538549 Date: Tue, 22 Jul 2014 03:15:31 +0000 (GMT) From: Eunbong Song Subject: Re: Re: Re: [PATCH] lib : lz4 using put_unaligned_le16 instead of put_unaligned To: Greg KH Cc: "chanho.min@lge.com" , "linux-kernel@vger.kernel.org" Reply-to: eunb.song@samsung.com MIME-version: 1.0 X-MTR: 20140722030307892@eunb.song Msgkey: 20140722030307892@eunb.song X-EPLocale: ko_KR.euc-kr X-Priority: 3 X-EPWebmail-Msg-Type: personal X-EPWebmail-Reply-Demand: 0 X-EPApproval-Locale: X-EPHeader: ML X-EPTrCode: X-EPTrName: X-MLAttribute: X-RootMTR: 20140722030307892@eunb.song X-ParentMTR: X-ArchiveUser: EV X-CPGSPASS: N Content-type: text/plain; charset=euc-kr MIME-version: 1.0 Message-id: <19235674.212171405998930057.JavaMail.weblogic@epml13> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEJsWRmVeSWpSXmKPExsVy+t8zbd3g62eDDU60cFtc3jWHzYHR4/Mm uQDGqAZGm8Si5IzMslSF1Lzk/JTMvHRbpdAQN10LJYWM/OISW6VoIwNjPSNTEz0jE3M9S4NY KyNTJYW8xNxUW6UKXaheJYWi5AKg2tzKYqABOal6UHG94tS8FIes/FKQS/SKE3OLS/PS9ZLz c5UUyhJzSoFGKOknTGXMeLxBpOARe8WEvx/YGhiPsHcxcnIICahItPz/zghiSwiYSCxu7mKH sMUkLtxbz9bFyAVUs4xR4vuKV+wwRQf3vGSFSMxhlDj97RtYN4uAqsS2lrfMIDabgLbEjwNX wWx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Bxfoljt3cwgZwA0vvkfjDMmN2bv7BB2AISU88chGpVl+g4fw4q ziexZuFbqFWCEqevdTPD9N7fMpcJxGYWUJSY0v2QHcLWkvjyYx8burd4BZwk1u69yzSBUW4W ktQsJO2zkLQjq1nAyLKKUTS1ILmgOCm9wlivODG3uDQvXS85P3cTIzg9PVu8g/H/eetDjAIc jEo8vBbyZ4OFWBPLiitzDzFKcDArifC27wEK8aYkVlalFuXHF5XmpBYfYkwGxt9EZinR5Hxg 6swriTc0NjA2NLQ0NzA1NLIgTVhJnDf+VlKQkEB6YklqdmpqQWoRzBYmDk6pBkY29owEbS6W IzdWrZz3wdiVs0ngVKDSQ7WDa/8f9szsN53Mo2tZ9Sz3q4OPU2K0xKSplc1zKj+/1baWaGTX M+RTuaFlGXI5kaPg+ZUqVr/XK53/PQzaIKVVXbl0jZZ6zJE3ns1pqwuvm0qabIxI3D+Xac0F 2wmXrZtc56jsmdFlJty7bVnJCiWW4oxEQy3mouJEAIR1nG2TAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id s6M3FmxR002989 > So it's never worked? Yes, it's always failed to mount. > Did you test on a little endian machine after making this change? Unfortunately, i don't have little endian machine. So i couldn't test that. Additionaly, when lz4 compress calls lz4_compressctx() function and uses LZ4_WRITE_LITTLEENDIAN_16() macro. And When lz4 decompress calls lz4_uncompress_unknownoutputsize function and uses LZ4_READ_LITTLEENDIAN_16 macro. There is endian mismatch in big endian machine as i metioned before. when compress lz4 write big endian bytes order and when decompress lz4 reads little endian bytes order. So i means we should make there is no endian mismatch between compress and decompress operation. Thanks. ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?