[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b9e3737f66ec2450221b492048ce0d9c65c84953.1698861216.git.christophe.jaillet@wanadoo.fr>
Date: Wed, 1 Nov 2023 18:59:06 +0100
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: rostedt@...dmis.org, gregkh@...uxfoundation.org,
keescook@...omium.org, willy@...radead.org,
senozhatsky@...omium.org
Cc: list@...l.com, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Christophe JAILLET <christophe.jaillet@...adoo.fr>
Subject: [PATCH 2/2] seq_buf: Export seq_buf_puts()
Mark seq_buf_puts() which is part of the seq_buf API to be exported to
kernel loadable GPL modules.
Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
---
There is currently no need for me for this export, but should the seq_buf
API be more widely used, it could become convenient to have it available.
---
lib/seq_buf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/seq_buf.c b/lib/seq_buf.c
index fb99168c3309..010c730ca7fc 100644
--- a/lib/seq_buf.c
+++ b/lib/seq_buf.c
@@ -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
--
2.34.1
Powered by blists - more mailing lists