diff options
author | Dan Magenheimer <dan.magenheimer@oracle.com> | 2013-01-18 13:24:27 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-18 13:43:44 -0800 |
commit | d6c19b6e7a2f040dd45a69f8afe051638b666a59 (patch) | |
tree | d1627b163a9929a2a9b67411c0f9a7813dc97996 /drivers/staging/zcache | |
parent | 112a35edd6a6fc0ef91c2a57ca679d5eaaa18ab5 (diff) | |
download | op-kernel-dev-d6c19b6e7a2f040dd45a69f8afe051638b666a59.zip op-kernel-dev-d6c19b6e7a2f040dd45a69f8afe051638b666a59.tar.gz |
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: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/zcache')
-rw-r--r-- | drivers/staging/zcache/zcache-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c index a09dd5c..6ab13e1 100644 --- a/drivers/staging/zcache/zcache-main.c +++ b/drivers/staging/zcache/zcache-main.c @@ -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) { struct tmem_pool *pool; - struct zcache_client *cli; + struct zcache_client *cli = NULL; uint32_t flags = eph ? 0 : TMEM_POOL_PERSIST; int ret = -1; |