Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 -2
+2 -2
lib/debugobjects.c
··· 500 500 descr->debug_hint(obj->object) : NULL; 501 501 limit++; 502 502 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", 504 504 msg, obj_states[obj->state], obj->astate, 505 - descr->name, hint); 505 + obj->object, descr->name, hint); 506 506 } 507 507 debug_objects_warnings++; 508 508 }