Skip to content

Commit f10bc40

Browse files
committed
Merge tag 'core-debugobjects-2022-12-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull debugobjects update from Thomas Gleixner: "A single update for debugobjects: Add the object pointer to the debug output for better correlation with other debug facilities" * tag 'core-debugobjects-2022-12-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: debugobjects: Print object pointer in debug_print_object()
2 parents 9c2b840 + c4db2d3 commit f10bc40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/debugobjects.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,9 @@ static void debug_print_object(struct debug_obj *obj, char *msg)
500500
descr->debug_hint(obj->object) : NULL;
501501
limit++;
502502
WARN(1, KERN_ERR "ODEBUG: %s %s (active state %u) "
503-
"object type: %s hint: %pS\n",
503+
"object: %p object type: %s hint: %pS\n",
504504
msg, obj_states[obj->state], obj->astate,
505-
descr->name, hint);
505+
obj->object, descr->name, hint);
506506
}
507507
debug_objects_warnings++;
508508
}

0 commit comments

Comments
 (0)