Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH -next] crypto: fix af_alg memory_allocated data type
       [not found] <20101216173745.264eb2ca.sfr@canb.auug.org.au>
@ 2010-12-16 18:18 ` Randy Dunlap
  2010-12-21 11:22   ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2010-12-16 18:18 UTC (permalink / raw)
  To: Stephen Rothwell, Herbert Xu; +Cc: linux-next, LKML, linux-crypto

From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
 crypto/af_alg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20101216.orig/crypto/af_alg.c
+++ linux-next-20101216/crypto/af_alg.c
@@ -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",

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] crypto: fix af_alg memory_allocated data type
  2010-12-16 18:18 ` [PATCH -next] crypto: fix af_alg memory_allocated data type Randy Dunlap
@ 2010-12-21 11:22   ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2010-12-21 11:22 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, linux-crypto

On Thu, Dec 16, 2010 at 10:18:00AM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> 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>

Applied.  Thanks Randy!
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-21 11:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20101216173745.264eb2ca.sfr@canb.auug.org.au>
2010-12-16 18:18 ` [PATCH -next] crypto: fix af_alg memory_allocated data type Randy Dunlap
2010-12-21 11:22   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox