projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c31041
)
Revert "printk: export symbols for debug modules"
author
Christoph Hellwig
<hch@lst.de>
Tue, 5 Sep 2023 08:19:02 +0000
(10:19 +0200)
committer
Petr Mladek
<pmladek@suse.com>
Thu, 7 Sep 2023 12:19:42 +0000
(14:19 +0200)
This reverts commit
3e00123a13d824d63072b1824c9da59cd78356d9
.
No, we never export random symbols for out of tree modules.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link:
https://lore.kernel.org/r/20230905081902.321778-1-hch@lst.de
kernel/printk/printk.c
patch
|
blob
|
history
diff --git
a/kernel/printk/printk.c
b/kernel/printk/printk.c
index 96fc38cb2e8415f6d1572384833ea8a55b3b90b7..7e0b4dd02398db9a6d12c47d5a8abc383bbcee69 100644
(file)
--- a/
kernel/printk/printk.c
+++ b/
kernel/printk/printk.c
@@
-538,14
+538,12
@@
char *log_buf_addr_get(void)
{
return log_buf;
}
-EXPORT_SYMBOL_GPL(log_buf_addr_get);
/* Return log buffer size */
u32 log_buf_len_get(void)
{
return log_buf_len;
}
-EXPORT_SYMBOL_GPL(log_buf_len_get);
/*
* Define how much of the log buffer we could take at maximum. The value