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(-)
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
2 matches
Mail list logo