crypto: af_alg - fix af_alg memory_allocated data type
Randy Dunlap [Tue, 21 Dec 2010 11:22:40 +0000 (22:22 +1100)]
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>

crypto/af_alg.c

index bd9e53c..940d70c 100644 (file)
@@ -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",