Skip to content

Commit 0686952

Browse files
rddunlapherbertx
authored andcommitted
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>
1 parent 3c097b8 commit 0686952

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crypto/af_alg.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct alg_type_list {
2727
struct list_head list;
2828
};
2929

30-
static atomic_t alg_memory_allocated;
30+
static atomic_long_t alg_memory_allocated;
3131

3232
static struct proto alg_proto = {
3333
.name = "ALG",

0 commit comments

Comments
 (0)