From: "tip-bot2 for Yu Liao" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: kernel test robot <lkp@intel.com>, Yu Liao <liaoyu15@huawei.com>,
Petr Mladek <pmladek@suse.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: sched/rt] printk: Export match_devname_and_update_preferred_console()
Date: Mon, 09 Sep 2024 17:27:41 -0000 [thread overview]
Message-ID: <172590286143.2215.6212348745263745888.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20240909075652.747370-1-liaoyu15@huawei.com>
The following commit has been merged into the sched/rt branch of tip:
Commit-ID: 3e5b2e81f17f176a4d451c1dd1794e64644319c4
Gitweb: https://git.kernel.org/tip/3e5b2e81f17f176a4d451c1dd1794e64644319c4
Author: Yu Liao <liaoyu15@huawei.com>
AuthorDate: Mon, 09 Sep 2024 15:56:52 +08:00
Committer: Petr Mladek <pmladek@suse.com>
CommitterDate: Mon, 09 Sep 2024 17:35:06 +02:00
printk: Export match_devname_and_update_preferred_console()
When building serial_base as a module, modpost fails with the following
error message:
ERROR: modpost: "match_devname_and_update_preferred_console"
[drivers/tty/serial/serial_base.ko] undefined!
Export the symbol to allow using it from modules.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202409071312.qlwtTOS1-lkp@intel.com/
Fixes: 12c91cec3155 ("serial: core: Add serial_base_match_and_update_preferred_console()")
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Link: https://lore.kernel.org/r/20240909075652.747370-1-liaoyu15@huawei.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
---
kernel/printk/printk.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index c22b070..6ff8d47 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -2620,6 +2620,7 @@ int match_devname_and_update_preferred_console(const char *devname,
return -ENOENT;
}
+EXPORT_SYMBOL_GPL(match_devname_and_update_preferred_console);
bool console_suspend_enabled = true;
EXPORT_SYMBOL(console_suspend_enabled);
prev parent reply other threads:[~2024-09-09 17:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 7:56 [PATCH -next] " Yu Liao
2024-09-09 8:25 ` Tony Lindgren
2024-09-09 10:56 ` Tony Lindgren
2024-09-10 6:41 ` Petr Mladek
2024-09-10 7:10 ` Tony Lindgren
2024-09-09 16:06 ` Petr Mladek
2024-09-09 17:27 ` tip-bot2 for Yu Liao [this message]
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=172590286143.2215.6212348745263745888.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=liaoyu15@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=lkp@intel.com \
--cc=pmladek@suse.com \
--cc=x86@kernel.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 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®