Dynamic debug: fix typo: -/->
authorRoel Kluin <[email protected]>
Wed, 15 Jul 2009 18:29:07 +0000 (20:29 +0200)
committerGreg Kroah-Hartman <[email protected]>
Tue, 28 Jul 2009 20:45:22 +0000 (13:45 -0700)
The member was intended, not the local variable.

Signed-off-by: Roel Kluin <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: Greg Banks <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
lib/dynamic_debug.c

index 833139ce1e225cc1bef2286b3e04d2133219f8ef..e22c148e4b7fff7605e605689561df66d018c6fa 100644 (file)
@@ -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) {