Commit 06869524 authored by Randy Dunlap's avatar Randy Dunlap Committed by Herbert Xu

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3c097b80
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment