diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-11-01 18:59:05 +0100 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-11-02 00:18:52 -0400 |
commit | 685b38c7650a0f461f56761cf61936b453d5bb24 (patch) | |
tree | ebbf4784da13074554142a32e43a9ec9600eac36 | |
parent | 407c6726ca71b33330d2d6345d9ea7ebc02575e9 (diff) | |
download | lwn-685b38c7650a0f461f56761cf61936b453d5bb24.tar.gz lwn-685b38c7650a0f461f56761cf61936b453d5bb24.zip |
seq_buf: Export seq_buf_putc()
Mark seq_buf_putc() which is part of the seq_buf API to be exported to
kernel loadable GPL modules.
Link: https://lkml.kernel.org/r/5c9a5ed97ac37dbdcd9c1e7bcbdec9ac166e79be.1698861216.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
-rw-r--r-- | lib/seq_buf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/seq_buf.c b/lib/seq_buf.c index 23518f77ea9c..fb99168c3309 100644 --- a/lib/seq_buf.c +++ b/lib/seq_buf.c @@ -208,6 +208,7 @@ int seq_buf_putc(struct seq_buf *s, unsigned char c) seq_buf_set_overflow(s); return -1; } +EXPORT_SYMBOL_GPL(seq_buf_putc); /** * seq_buf_putmem - write raw data into the sequenc buffer |