From: Seth Jennings Date: Tue, 28 Feb 2012 22:01:37 +0000 (-0600) Subject: staging: zcache: fix length type mismatch X-Git-Tag: v3.4-rc1~186^2~100^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843c666d16e62e4b3889f1491a1d91b87ddc7bd3;p=pandora-kernel.git staging: zcache: fix length type mismatch This fixes a type mismatch in the compression code where a size_t pointer was cast to a unsigned int pointer. On little endian archs, there is no issue. However on big endian archs, the value is incorrect, taking the high order bits and truncating the lower order bits. Signed-off-by: Seth Jennings Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed