[PATCH] zram: use proper type to update max_used_pages

2015-02-16 Thread Joonsoo Kim
max_used_pages are defined as atomic_long_t so we need to use unsigned long to keep temporary value for it rather than int which is smaller than unsigned long in 64 bit system. Signed-off-by: Joonsoo Kim --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] zram: use proper type to update max_used_pages

2015-02-16 Thread Joonsoo Kim
max_used_pages are defined as atomic_long_t so we need to use unsigned long to keep temporary value for it rather than int which is smaller than unsigned long in 64 bit system. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1