Staging: zcache: signedness bug in tmem_get()
authorDan Carpenter <error27@gmail.com>
Tue, 9 Aug 2011 18:01:33 +0000 (21:01 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 21:52:20 +0000 (14:52 -0700)
commit1dcab0875b113a148b6601d87b4e0e3444440339
treedb5db2a6c2c82df642c2a395e37cbe9caaf04044
parentc5f5c4db393837ebb2ae47bf061d70e498f48f8c
Staging: zcache: signedness bug in tmem_get()

"ret" needs to be signed for the error handling to work properly.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zcache/tmem.c