Commit d6c19b6e authored by Dan Magenheimer's avatar Dan Magenheimer Committed by Greg Kroah-Hartman

staging: zcache: fix uninitialized variable compile warning

[V2: no code changes, patchset now generated via git format-patch -M]

Fix unitialized variable in zcache which generates warning during build
Signed-off-by: default avatarDan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 112a35ed
...@@ -1346,7 +1346,7 @@ static int zcache_local_new_pool(uint32_t flags) ...@@ -1346,7 +1346,7 @@ static int zcache_local_new_pool(uint32_t flags)
int zcache_autocreate_pool(unsigned int cli_id, unsigned int pool_id, bool eph) int zcache_autocreate_pool(unsigned int cli_id, unsigned int pool_id, bool eph)
{ {
struct tmem_pool *pool; struct tmem_pool *pool;
struct zcache_client *cli; struct zcache_client *cli = NULL;
uint32_t flags = eph ? 0 : TMEM_POOL_PERSIST; uint32_t flags = eph ? 0 : TMEM_POOL_PERSIST;
int ret = -1; int ret = -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment