[GIT,pull] core/debugobjects for v6.2-rc1

Message ID 167083907908.564878.17662405881760397931.tglx@xen13.tec.linutronix.de
State New
Headers
Series [GIT,pull] core/debugobjects for v6.2-rc1 |

Commit Message

Thomas Gleixner Dec. 12, 2022, 10:09 a.m. UTC
  Linus,

please pull the latest core/debugobjects branch from:

   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debugobjects-2022-12-10

up to:  c4db2d3b70e5: debugobjects: Print object pointer in debug_print_object()

A single update for debugobjetcs:

  Add the object pointer to the debug output for better correlation with
  other debug facilities.


Thanks,

	tglx

------------------>
Stephen Boyd (1):
      debugobjects: Print object pointer in debug_print_object()


 lib/debugobjects.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

pr-tracker-bot@kernel.org Dec. 12, 2022, 9:11 p.m. UTC | #1
The pull request you sent on Mon, 12 Dec 2022 11:09:00 +0100 (CET):

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-debugobjects-2022-12-10

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/f10bc40168032962ebee26894bdbdc972cde35bf

Thank you!
  

Patch

diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index 337d797a7141..4c670d3b6965 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -500,9 +500,9 @@  static void debug_print_object(struct debug_obj *obj, char *msg)
 			descr->debug_hint(obj->object) : NULL;
 		limit++;
 		WARN(1, KERN_ERR "ODEBUG: %s %s (active state %u) "
-				 "object type: %s hint: %pS\n",
+				 "object: %p object type: %s hint: %pS\n",
 			msg, obj_states[obj->state], obj->astate,
-			descr->name, hint);
+			obj->object, descr->name, hint);
 	}
 	debug_objects_warnings++;
 }