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

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