Skip to content

Commit 4df7b3e

Browse files
RoelKluingregkh
authored andcommitted
Dynamic debug: fix typo: -/->
The member was intended, not the local variable. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: Jason Baron <jbaron@redhat.com> Cc: Greg Banks <gnb@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 3b4418c commit 4df7b3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/dynamic_debug.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static void ddebug_change(const struct ddebug_query *query,
164164

165165
if (!newflags)
166166
dt->num_enabled--;
167-
else if (!dp-flags)
167+
else if (!dp->flags)
168168
dt->num_enabled++;
169169
dp->flags = newflags;
170170
if (newflags) {

0 commit comments

Comments
 (0)