From: Christophe JAILLET Date: Wed, 1 Nov 2023 17:59:06 +0000 (+0100) Subject: seq_buf: Export seq_buf_puts() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=70a9affa930c7aeba27893c7d402ef1294f43aa2;p=linux.git seq_buf: Export seq_buf_puts() Mark seq_buf_puts() which is part of the seq_buf API to be exported to kernel loadable GPL modules. Link: https://lkml.kernel.org/r/b9e3737f66ec2450221b492048ce0d9c65c84953.1698861216.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET Signed-off-by: Steven Rostedt (Google) --- diff --git a/lib/seq_buf.c b/lib/seq_buf.c index fb99168c33099..010c730ca7fca 100644 --- a/lib/seq_buf.c +++ b/lib/seq_buf.c @@ -187,6 +187,7 @@ int seq_buf_puts(struct seq_buf *s, const char *str) seq_buf_set_overflow(s); return -1; } +EXPORT_SYMBOL_GPL(seq_buf_puts); /** * seq_buf_putc - sequence printing of simple character