All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Elver <elver@google.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Potapenko <glider@google.com>,
	kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	kernel test robot <lkp@intel.com>, Petr Mladek <pmladek@suse.com>,
	Sergey Senozhatsky <senozhatsky@chromium.org>,
	Steven Rostedt <rostedt@goodmis.org>,
	John Ogness <john.ogness@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] fix for "printk: introduce dump_stack_lvl()"
Date: Thu, 13 May 2021 13:14:08 +0200	[thread overview]
Message-ID: <YJ0KAM0hQev1AmWe@elver.google.com> (raw)
In-Reply-To: <202105131720.yP4kfiAi-lkp@intel.com>

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


WARNING: multiple messages have this Message-ID (diff)
From: Marco Elver <elver@google.com>
To: kbuild-all@lists.01.org
Subject: [PATCH] fix for "printk: introduce dump_stack_lvl()"
Date: Thu, 13 May 2021 13:14:08 +0200	[thread overview]
Message-ID: <YJ0KAM0hQev1AmWe@elver.google.com> (raw)
In-Reply-To: <202105131720.yP4kfiAi-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

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

  reply	other threads:[~2021-05-13 11:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13  9:03 [linux-next:master 2605/2770] mm/kasan/report.c:233:2: error: implicit declaration of function 'dump_stack_lvl'; did you mean 'dump_stack'? kernel test robot
2021-05-13  9:03 ` kernel test robot
2021-05-13 11:14 ` Marco Elver [this message]
2021-05-13 11:14   ` [PATCH] fix for "printk: introduce dump_stack_lvl()" Marco Elver
2021-05-13 11:20   ` Alexander Potapenko
2021-05-13 11:20     ` Alexander Potapenko
2021-05-13 11:20     ` Alexander Potapenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YJ0KAM0hQev1AmWe@elver.google.com \
    --to=elver@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=glider@google.com \
    --cc=john.ogness@linutronix.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=pmladek@suse.com \
    --cc=rostedt@goodmis.org \
    --cc=senozhatsky@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.