Skip to content

Commit

Permalink
crypto: af_alg - fix af_alg memory_allocated data type
Browse files Browse the repository at this point in the history
Change data type to fix warning:

crypto/af_alg.c:35: warning: initialization from incompatible pointer type

Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
rddunlap authored and herbertx committed Dec 21, 2010
1 parent 3c097b8 commit 0686952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/af_alg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0686952

Please sign in to comment.