]> git.itanic.dy.fi Git - linux-stable/commitdiff
seq_buf: Export seq_buf_puts()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 1 Nov 2023 17:59:06 +0000 (18:59 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 2 Nov 2023 04:19:44 +0000 (00:19 -0400)
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 <christophe.jaillet@wanadoo.fr>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
lib/seq_buf.c

index fb99168c3309915f83da970840558f067f93fd2c..010c730ca7fca9b9aab83960a78638046043693f 100644 (file)
@@ -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