提交 06869524 编写于 作者: R Randy Dunlap 提交者: 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: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 3c097b80
...@@ -27,7 +27,7 @@ struct alg_type_list { ...@@ -27,7 +27,7 @@ struct alg_type_list {
struct list_head list; struct list_head list;
}; };
static atomic_t alg_memory_allocated; static atomic_long_t alg_memory_allocated;
static struct proto alg_proto = { static struct proto alg_proto = {
.name = "ALG", .name = "ALG",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册