lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1302197568-31725-1-git-send-email-iws@ovro.caltech.edu>
Date:	Thu,  7 Apr 2011 10:32:48 -0700
From:	"Ira W. Snyder" <iws@...o.caltech.edu>
To:	linux-kernel@...r.kernel.org
Cc:	"Ira W. Snyder" <iws@...o.caltech.edu>,
	Kumar Gala <galak@...nel.crashing.org>,
	bluesmoke-devel@...ts.sourceforge.net
Subject: [PATCH] edac/mpc85xx: fix unused variable warning

Commit a94d7b35067ab403485a1ea06b7a3d0172d1a1ba introduced an unused
variable warning when CONFIG_FSL_SOC_BOOKE is not defined. Fix it.

Signed-off-by: Ira W. Snyder <iws@...o.caltech.edu>
Cc: Kumar Gala <galak@...nel.crashing.org>
Cc: bluesmoke-devel@...ts.sourceforge.net
---
 drivers/edac/mpc85xx_edac.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c
index 38ab8e2..6002657 100644
--- a/drivers/edac/mpc85xx_edac.c
+++ b/drivers/edac/mpc85xx_edac.c
@@ -1154,7 +1154,9 @@ static void __init mpc85xx_mc_clear_rfxe(void *data)
 static int __init mpc85xx_mc_init(void)
 {
 	int res = 0;
+#ifdef CONFIG_FSL_SOC_BOOKE
 	u32 pvr = 0;
+#endif
 
 	printk(KERN_INFO "Freescale(R) MPC85xx EDAC driver, "
 	       "(C) 2006 Montavista Software\n");
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ