linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] debugobjects: add missing empty function debug_object_active_state()
@ 2021-06-17  7:10 Xin He
  2021-06-19  5:03 ` Stephen Boyd
  0 siblings, 1 reply; 6+ messages in thread
From: Xin He @ 2021-06-17  7:10 UTC (permalink / raw)
  To: tglx, keescook, swboyd; +Cc: linux-kernel, Xin He

All other functions are defined for when CONFIG_DEBUG_OBJECTS
is not set.

Signed-off-by: Xin He <hexin.op@bytedance.com>
---
 include/linux/debugobjects.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/debugobjects.h b/include/linux/debugobjects.h
index 8d2dde23e9fb..af0d73d8d29b 100644
--- a/include/linux/debugobjects.h
+++ b/include/linux/debugobjects.h
@@ -99,6 +99,9 @@ static inline void
 debug_object_free      (void *addr, const struct debug_obj_descr *descr) { }
 static inline void
 debug_object_assert_init(void *addr, const struct debug_obj_descr *descr) { }
+static inline void
+debug_object_active_state(void *addr, const struct debug_obj_descr *descr,
+			  unsigned int expect, unsigned int next) { }
 
 static inline void debug_objects_early_init(void) { }
 static inline void debug_objects_mem_init(void) { }
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-06-20 11:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17  7:10 [PATCH] debugobjects: add missing empty function debug_object_active_state() Xin He
2021-06-19  5:03 ` Stephen Boyd
2021-06-19 16:47   ` Thomas Gleixner
2021-06-20  5:52     ` [External] " 何鑫
2021-06-20 11:09       ` Thomas Gleixner
2021-06-20  5:40   ` 何鑫

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).