From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
Herbert Xu <herbert@gondor•hengli.com.au>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>,
linux-crypto@vger•kernel.org
Subject: [PATCH -next] crypto: fix af_alg memory_allocated data type
Date: Thu, 16 Dec 2010 10:18:00 -0800 [thread overview]
Message-ID: <20101216101800.36529e89.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20101216173745.264eb2ca.sfr@canb.auug.org.au>
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",
next prev parent reply other threads:[~2010-12-16 18:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-16 6:37 linux-next: Tree for December 16 Stephen Rothwell
2010-12-16 18:18 ` Randy Dunlap [this message]
2010-12-21 11:22 ` [PATCH -next] crypto: fix af_alg memory_allocated data type Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101216101800.36529e89.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=herbert@gondor$(echo .)hengli.com.au \
--cc=linux-crypto@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=sfr@canb$(echo .)auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox