mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix for "printk: introduce dump_stack_lvl()"
       [not found] <202105131720.yP4kfiAi-lkp@intel.com>
@ 2021-05-13 11:14 ` Marco Elver
  2021-05-13 11:20   ` Alexander Potapenko
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Elver @ 2021-05-13 11:14 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Alexander Potapenko, kbuild-all, Linux Memory Management List,
	kernel test robot, Petr Mladek, Sergey Senozhatsky,
	Steven Rostedt, John Ogness, linux-kernel

Add missing dump_stack_lvl() stub if CONFIG_PRINTK=n.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Marco Elver <elver@google.com>
---
 include/linux/printk.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/printk.h b/include/linux/printk.h
index abe274305d79..f589b8b60806 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -270,6 +270,10 @@ static inline void show_regs_print_info(const char *log_lvl)
 {
 }
 
+static inline void dump_stack_lvl(const char *log_lvl)
+{
+}
+
 static inline void dump_stack(void)
 {
 }
-- 
2.31.1.607.g51e8a6a459-goog


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

* Re: [PATCH] fix for "printk: introduce dump_stack_lvl()"
  2021-05-13 11:14 ` [PATCH] fix for "printk: introduce dump_stack_lvl()" Marco Elver
@ 2021-05-13 11:20   ` Alexander Potapenko
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Potapenko @ 2021-05-13 11:20 UTC (permalink / raw)
  To: Marco Elver
  Cc: Andrew Morton, kbuild-all, Linux Memory Management List,
	kernel test robot, Petr Mladek, Sergey Senozhatsky,
	Steven Rostedt, John Ogness, LKML

On Thu, May 13, 2021 at 1:14 PM Marco Elver <elver@google.com> wrote:
>
> Add missing dump_stack_lvl() stub if CONFIG_PRINTK=n.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Marco Elver <elver@google.com>
Reviewed-by: Alexander Potapenko <glider@google.com>

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

end of thread, other threads:[~2021-05-13 11:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <202105131720.yP4kfiAi-lkp@intel.com>
2021-05-13 11:14 ` [PATCH] fix for "printk: introduce dump_stack_lvl()" Marco Elver
2021-05-13 11:20   ` Alexander Potapenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®