Commit 4df7b3e0 authored by Roel Kluin's avatar Roel Kluin Committed by Greg Kroah-Hartman

Dynamic debug: fix typo: -/->

The member was intended, not the local variable.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Greg Banks <gnb@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3b4418c6
...@@ -164,7 +164,7 @@ static void ddebug_change(const struct ddebug_query *query, ...@@ -164,7 +164,7 @@ static void ddebug_change(const struct ddebug_query *query,
if (!newflags) if (!newflags)
dt->num_enabled--; dt->num_enabled--;
else if (!dp-flags) else if (!dp->flags)
dt->num_enabled++; dt->num_enabled++;
dp->flags = newflags; dp->flags = newflags;
if (newflags) { if (newflags) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment