Re: [RFC PATCH 5/8] seq_buf: Export seq_buf_printf() to modules

From: Steven Rostedt
Date: Thu Jul 27 2017 - 21:44:11 EST


On Tue, 25 Jul 2017 17:45:58 +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>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve

> ---
> 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);
>
> #ifdef CONFIG_BINARY_PRINTF
> /**