From: Minchan Kim Date: Wed, 6 Aug 2014 23:08:29 +0000 (-0700) Subject: zram: use size_t instead of u16 X-Git-Tag: cleanup-for-v3.18~96^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=023b409f9dac4cdea3322009f2e592068558690c;p=pandora-kernel.git zram: use size_t instead of u16 Some architectures (eg, hexagon and PowerPC) could use PAGE_SHIFT of 16 or more. In these cases u16 is not sufficiently large to represent a compressed page's size so use size_t. Signed-off-by: Minchan Kim Reported-by: Weijie Yang Acked-by: Sergey Senozhatsky Cc: Jerome Marchand Cc: Nitin Gupta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed