dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Randy Dunlap 2010-12-21 22:22:40 +11:00 committed by Herbert Xu
parent 3c097b8008
commit 0686952458
1 changed files with 1 additions and 1 deletions

View 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",