zram: Fix sparse warnings
authorNitin Gupta <ngupta@vflare.org>
Fri, 9 Sep 2011 23:01:00 +0000 (19:01 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Sep 2011 23:09:50 +0000 (16:09 -0700)
commit2ccbec05ac9917a09aeb2f647667b734b4f02ce1
tree53a14c265a32fc572f85a0c19da257c1746ac7c9
parent25d7315a19bae4c880ca25b75fe8c632b79a21b7
zram: Fix sparse warnings

Fixes sparse warning:
zram_drv.c:666:6: warning: symbol 'zram_slot_free_notify' was not
declared. Should it be static?

Also, max_zpage_size is now size_t just to be consistent with data-type
of other variables maintaining sizes of various kinds.

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zram/zram_drv.c
drivers/staging/zram/zram_drv.h