Skip to content

Commit

Permalink
seq_buf: Export seq_buf_putc()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
  • Loading branch information
tititiou36 authored and rostedt committed Nov 2, 2023
1 parent 407c672 commit 685b38c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/seq_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 685b38c

Please sign in to comment.