crypto: algif - fix warn: unsigned 'used' is never less than zero
authortadeusz.struk@intel.com <tadeusz.struk@intel.com>
Wed, 25 Mar 2015 14:29:19 +0000 (07:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2015 15:44:18 +0000 (11:44 -0400)
commitac110f4954252b7bbe66268c78c8ece7ac2569b9
tree922c536dd9270b9fdf1a343cc47526450df16d09
parentbc14b8d6a98eb0747126cd517b468148b9e1c7ac
crypto: algif - fix warn: unsigned 'used' is never less than zero

Change type from unsigned long to int to fix an issue reported by kbuild robot:
crypto/algif_skcipher.c:596 skcipher_recvmsg_async() warn: unsigned 'used' is
never less than zero.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
crypto/algif_skcipher.c