From: Randy Dunlap Subject: [PATCH -next] crypto: fix af_alg memory_allocated data type Date: Thu, 16 Dec 2010 10:18:00 -0800 Message-ID: <20101216101800.36529e89.randy.dunlap@oracle.com> References: <20101216173745.264eb2ca.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: linux-next@vger.kernel.org, LKML , linux-crypto@vger.kernel.org To: Stephen Rothwell , Herbert Xu Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:63490 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751355Ab0LPSSO (ORCPT ); Thu, 16 Dec 2010 13:18:14 -0500 In-Reply-To: <20101216173745.264eb2ca.sfr@canb.auug.org.au> Sender: linux-crypto-owner@vger.kernel.org List-ID: From: Randy Dunlap Change data type to fix warning: crypto/af_alg.c:35: warning: initialization from incompatible pointer type Signed-off-by: Randy Dunlap --- 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",