Re: [PATCH] crypto: caam - fix gcc 4.6 warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 13 Jan 2012 16:39:18 +1100
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:

> On Mon, Jan 09, 2012 at 10:27:40AM -0600, Kim Phillips wrote:
> > drivers/crypto/caam/ctrl.c: In function 'caam_probe':
> > drivers/crypto/caam/ctrl.c:49:6: warning: unused variable 'd' [-Wunused-variable]
> > 
> > Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
> 
> Both patches applied.

Hi Herbert, I see you've applied:

e863f9c crypto: caam - add sha224 and sha384 variants to existing AEAD algorithm
0113529 crypto: caam - be less noisy on startup

to the cryptodev tree, but not the one at the start of this thread,
which needs to go into your crypto tree (it's a fix for v3.3).  I'm
resending it below in case it was lost.

Thanks,

Kim

>From 3b85bc6b93ff561d9d9f85b455734eb26487e875 Mon Sep 17 00:00:00 2001
From: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
Date: Tue, 20 Dec 2011 18:24:30 -0600
Subject: [PATCH] crypto: caam - fix gcc 4.6 warning

drivers/crypto/caam/ctrl.c: In function 'caam_probe':
drivers/crypto/caam/ctrl.c:49:6: warning: unused variable 'd' [-Wunused-variable]

Signed-off-by: Kim Phillips <kim.phillips@xxxxxxxxxxxxx>
---
 drivers/crypto/caam/ctrl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index 8ae3ba2..c5f61c5 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -46,7 +46,7 @@ static int caam_remove(struct platform_device *pdev)
 /* Probe routine for CAAM top (controller) level */
 static int caam_probe(struct platform_device *pdev)
 {
-	int d, ring, rspec;
+	int ring, rspec;
 	struct device *dev;
 	struct device_node *nprop, *np;
 	struct caam_ctrl __iomem *ctrl;
-- 
1.7.8.3


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux