2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 14:14:01 +08:00
linux-next/drivers/staging/zcache
Konrad Rzeszutek Wilk 291131cba1 zcache: Fix compile warnings due to usage of debugfs_create_size_t
When we compile we get tons of:
include/linux/debugfs.h:80:16: note: expected ‘size_t *’ but argument is
of type ‘long int *’
drivers/staging/zcache/zcache-main.c:279:2: warning: passing argument 4
of ‘debugfs_create_size_t’ from incompatible pointer type [enabled by d
efault]

which is b/c we end up using 'unsigned' or 'unsigned long' instead
of 'ssize_t'. So lets fix this up and use the proper type.

[v2: Rebased directly on staging]
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-15 10:16:10 -08:00
..
ramster staging: zcache: rename ramster to zcache 2013-01-18 13:43:44 -08:00
Kconfig staging/zcache: Fix/improve zcache writeback code, tie to a config option 2013-02-11 14:58:56 -08:00
Makefile staging: zcache: adjustments to config/build files due to renaming 2013-01-18 13:43:44 -08:00
ramster.h staging: zcache: rename ramster to zcache 2013-01-18 13:43:44 -08:00
tmem.c staging: zcache: rename ramster to zcache 2013-01-18 13:43:44 -08:00
tmem.h staging: zcache: rename ramster to zcache 2013-01-18 13:43:44 -08:00
TODO staging: zcache: add TODO file 2013-02-13 10:22:12 -08:00
zbud.c staging: zcache: fix ppc64 and other arches where PAGE_SIZE!=4K 2013-01-25 11:26:26 -08:00
zbud.h staging: zcache: rename ramster to zcache 2013-01-18 13:43:44 -08:00
zcache-main.c zcache: Fix compile warnings due to usage of debugfs_create_size_t 2013-02-15 10:16:10 -08:00
zcache.h staging: zcache: rename ramster to zcache 2013-01-18 13:43:44 -08:00