diff options
author | Minchan Kim <minchan@kernel.org> | 2014-08-06 16:08:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 18:01:23 -0700 |
commit | 023b409f9dac4cdea3322009f2e592068558690c (patch) | |
tree | 832d33ccc7ae54719678c7723ea4100b8efab7b7 /Kconfig | |
parent | a830eff749eb2bf906783f6bf74a74dad3de3aea (diff) | |
download | talos-obmc-linux-023b409f9dac4cdea3322009f2e592068558690c.tar.gz talos-obmc-linux-023b409f9dac4cdea3322009f2e592068558690c.zip |
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 <minchan@kernel.org>
Reported-by: Weijie Yang <weijie.yang@samsung.com>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Jerome Marchand <jmarchan@redhat.com>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions