Skip to contentSkip to conversation

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

PATCH [email protected] 1 participant 1 message Jan 9, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 <[email protected]> know about it.

Quoted 1 line

From bc4725d9029e2c8205fbaf1105e193d1c4e463bb Mon Sep 17 00:00:00 2001

From: Geert Uytterhoeven <[email protected]>
Date: Mon, 3 Oct 2016 13:03:38 +0200
Subject: clk: renesas: cpg-mssr: Fix inverted debug check

From: Geert Uytterhoeven <[email protected]>

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")
---
 drivers/clk/renesas/renesas-cpg-mssr.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/renesas/renesas-cpg-mssr.c +2 -2
@@ -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 [email protected] are

queue-4.9/clk-renesas-cpg-mssr-fix-inverted-debug-check.patch queue-4.9/arm-dts-r8a7794-correct-hsusb-parent-clock.patch