Re: [PATCH 4/7] seq_buf: Export seq_buf_printf() to modules
From: Steven Rostedt
Date: Fri Aug 25 2017 - 09:28:06 EST
On Fri, 25 Aug 2017 12:24:08 +0200
Borislav Petkov <bp@xxxxxxxxx> wrote:
> From: Borislav Petkov <bp@xxxxxxx>
>
> Will be used in a module in a later patch.
>
> Signed-off-by: Borislav Petkov <bp@xxxxxxx>
> Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
> ---
> lib/seq_buf.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/seq_buf.c b/lib/seq_buf.c
> index cb18469e1f49..b5217cf1824d 100644
> --- a/lib/seq_buf.c
> +++ b/lib/seq_buf.c
> @@ -90,6 +90,7 @@ int seq_buf_printf(struct seq_buf *s, const char *fmt, ...)
>
> return ret;
> }
> +EXPORT_SYMBOL_GPL(seq_buf_printf);
May want to add seq_buf_putc() and seq_buf_puts() as well. Will explain
in other patches.
-- Steve
>
> #ifdef CONFIG_BINARY_PRINTF
> /**