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
| ||
|
Date: Thu, 2 Feb 2012 20:19:47 +0100 From: stigge@...com.de To: w.sang@...gutronix.de, bangaragiri.g@....com, srinivas.bakki@....com, sundarapandian.andithevar@....com, linus.walleij@...aro.org, linux-kernel@...r.kernel.org, kevin.wells@....com, linux-arm-kernel@...ts.infradead.org Cc: Roland Stigge <stigge@...com.de> Subject: [PATCH v3 6/7] ARM: LPC32xx: clock.c: warning fix This patch removes the debug warning on local_clk_disable() as done in Kevin Wells' driver update Signed-off-by: Roland Stigge <stigge@...com.de> Acked-by: Wolfram Sang <w.sang@...gutronix.de> Tested-by: Wolfram Sang <w.sang@...gutronix.de> diff --git a/arch/arm/mach-lpc32xx/clock.c b/arch/arm/mach-lpc32xx/clock.c index d527288..0606a63 100644 --- a/arch/arm/mach-lpc32xx/clock.c +++ b/arch/arm/mach-lpc32xx/clock.c @@ -904,8 +904,6 @@ static inline void clk_unlock(void) static void local_clk_disable(struct clk *clk) { - WARN_ON(clk->usecount == 0); - /* Don't attempt to disable clock if it has no users */ if (clk->usecount > 0) { clk->usecount--; -- 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