ANDROID: squashfs: Fix endianness issue
authorDaniel Rosenberg <drosen@google.com>
Tue, 27 Jun 2017 01:21:56 +0000 (18:21 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 10 Jul 2017 10:58:06 +0000 (16:28 +0530)
commita564a0755fa91baef1cb0ce82a67e331bbf6f94a
treeba02686aaf6af2c559e11616cf27c962d78009a6
parent2d616f8ceaf68c68c123590ad75839efaaa232a4
ANDROID: squashfs: Fix endianness issue

Code in squashfs_process_blocks was not correctly assigning
length. Casting to u16* introduced endianness issues on some
architectures.

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35257858
Change-Id: I9efaef4bc531b7469de79cf94738ade2dd6e6a8c
fs/squashfs/block.c