Patch "clk: renesas: cpg-mssr: Fix inverted debug check" has been added to the 4.9-stable tree

From: <gregkh@linuxfoundation.org>
Date: 2017-01-09 12:06:59

This is a note to let you know that I've just added the patch titled

    clk: renesas: cpg-mssr: Fix inverted debug check

to the 4.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     clk-renesas-cpg-mssr-fix-inverted-debug-check.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let [off-list ref] know about it.

From bc4725d9029e2c8205fbaf1105e193d1c4e463bb Mon Sep 17 00:00:00 2001
From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: Mon, 3 Oct 2016 13:03:38 +0200
Subject: clk: renesas: cpg-mssr: Fix inverted debug check

From: Geert Uytterhoeven <geert+renesas@glider.be>

commit bc4725d9029e2c8205fbaf1105e193d1c4e463bb upstream.

The intention was to enable the checks if debugging is enabled, not
disabled.

Fixes: f793d1e51705b276 ("clk: shmobile: Add new CPG/MSSR driver core")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/clk/renesas/renesas-cpg-mssr.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/clk/renesas/renesas-cpg-mssr.c
+++ b/drivers/clk/renesas/renesas-cpg-mssr.c
@@ -33,9 +33,9 @@
 #include "clk-div6.h"
 
 #ifdef DEBUG
-#define WARN_DEBUG(x)	do { } while (0)
-#else
 #define WARN_DEBUG(x)	WARN_ON(x)
+#else
+#define WARN_DEBUG(x)	do { } while (0)
 #endif
 
 

Patches currently in stable-queue which might be from geert+renesas@glider.be are

queue-4.9/clk-renesas-cpg-mssr-fix-inverted-debug-check.patch
queue-4.9/arm-dts-r8a7794-correct-hsusb-parent-clock.patch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help