public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Dynamic debug: fix typo: -/->
@ 2009-07-15 18:29 Roel Kluin
  0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2009-07-15 18:29 UTC (permalink / raw)
  To: gnb, jbaron, gregkh, LKML, Andrew Morton

The member was intended, not the local variable.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
Right?

diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 833139c..e22c148 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -164,7 +164,7 @@ static void ddebug_change(const struct ddebug_query *query,
 
 			if (!newflags)
 				dt->num_enabled--;
-			else if (!dp-flags)
+			else if (!dp->flags)
 				dt->num_enabled++;
 			dp->flags = newflags;
 			if (newflags) {

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-15 18:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-15 18:29 [PATCH] Dynamic debug: fix typo: -/-> Roel Kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox