[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YJ0KAM0hQev1AmWe@elver.google.com>
Date: Thu, 13 May 2021 13:14:08 +0200
From: Marco Elver <elver@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Alexander Potapenko <glider@...gle.com>, kbuild-all@...ts.01.org,
Linux Memory Management List <linux-mm@...ck.org>,
kernel test robot <lkp@...el.com>,
Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <senozhatsky@...omium.org>,
Steven Rostedt <rostedt@...dmis.org>,
John Ogness <john.ogness@...utronix.de>,
linux-kernel@...r.kernel.org
Subject: [PATCH] fix for "printk: introduce dump_stack_lvl()"
Add missing dump_stack_lvl() stub if CONFIG_PRINTK=n.
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Marco Elver <elver@...gle.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
Powered by blists - more mailing lists