summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2010-12-21 22:22:40 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2010-12-21 22:22:40 +1100
commit0686952458780e8a29d5a75dea03472fe2302c5a (patch)
treeeb48263a25d8485b64088a6da7ff8b321bb7d0e2 /crypto
parent3c097b800816c0e4c2a34c38f8b2409427770f7a (diff)
downloadkernel-common-0686952458780e8a29d5a75dea03472fe2302c5a.tar.gz
kernel-common-0686952458780e8a29d5a75dea03472fe2302c5a.tar.bz2
kernel-common-0686952458780e8a29d5a75dea03472fe2302c5a.zip
crypto: af_alg - fix af_alg memory_allocated data type
Change data type to fix warning: crypto/af_alg.c:35: warning: initialization from incompatible pointer type Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/af_alg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c
index bd9e53c78026..940d70cb5c25 100644
--- a/crypto/af_alg.c
+++ b/crypto/af_alg.c
@@ -27,7 +27,7 @@ struct alg_type_list {
struct list_head list;
};
-static atomic_t alg_memory_allocated;
+static atomic_long_t alg_memory_allocated;
static struct proto alg_proto = {
.name = "ALG",