diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-05-03 16:56:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-16 18:37:51 -0400 |
commit | 410b6372d780da3e3594bc107139af9d049d3ac5 (patch) | |
tree | 19726d5d3573e5cd889ed61e7d66f59c37994787 | |
parent | 8c090cfbf980581454ae4caae731574fedd7dce8 (diff) |
staging: zcache: Fix incorrect module_param_array types
drivers/staging/zcache/zcache-main.c: In function ‘__check_disable_cleancache’:
drivers/staging/zcache/zcache-main.c:1928: warning: return from incompatible pointer type
drivers/staging/zcache/zcache-main.c: In function ‘__check_disable_frontswap’:
drivers/staging/zcache/zcache-main.c:1929: warning: return from incompatible pointer type
drivers/staging/zcache/zcache-main.c: In function ‘__check_disable_frontswap_ignore_nonactive’:
drivers/staging/zcache/zcache-main.c:1933: warning: return from incompatible pointer type
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/zcache/zcache-main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c index 522cb8e55142..dcceed29d31a 100644 --- a/drivers/staging/zcache/zcache-main.c +++ b/drivers/staging/zcache/zcache-main.c | |||
@@ -1922,15 +1922,15 @@ out: | |||
1922 | 1922 | ||
1923 | #ifdef CONFIG_ZCACHE_MODULE | 1923 | #ifdef CONFIG_ZCACHE_MODULE |
1924 | #ifdef CONFIG_RAMSTER | 1924 | #ifdef CONFIG_RAMSTER |
1925 | module_param(ramster_enabled, int, S_IRUGO); | 1925 | module_param(ramster_enabled, bool, S_IRUGO); |
1926 | module_param(disable_frontswap_selfshrink, int, S_IRUGO); | 1926 | module_param(disable_frontswap_selfshrink, int, S_IRUGO); |
1927 | #endif | 1927 | #endif |
1928 | module_param(disable_cleancache, int, S_IRUGO); | 1928 | module_param(disable_cleancache, bool, S_IRUGO); |
1929 | module_param(disable_frontswap, int, S_IRUGO); | 1929 | module_param(disable_frontswap, bool, S_IRUGO); |
1930 | #ifdef FRONTSWAP_HAS_EXCLUSIVE_GETS | 1930 | #ifdef FRONTSWAP_HAS_EXCLUSIVE_GETS |
1931 | module_param(frontswap_has_exclusive_gets, bool, S_IRUGO); | 1931 | module_param(frontswap_has_exclusive_gets, bool, S_IRUGO); |
1932 | #endif | 1932 | #endif |
1933 | module_param(disable_frontswap_ignore_nonactive, int, S_IRUGO); | 1933 | module_param(disable_frontswap_ignore_nonactive, bool, S_IRUGO); |
1934 | module_param(zcache_comp_name, charp, S_IRUGO); | 1934 | module_param(zcache_comp_name, charp, S_IRUGO); |
1935 | module_init(zcache_init); | 1935 | module_init(zcache_init); |
1936 | MODULE_LICENSE("GPL"); | 1936 | MODULE_LICENSE("GPL"); |