[PATCH v3 13/21] textsearch: document list inside struct ts_ops

From: Mauro Carvalho Chehab
Date: Sat Jul 09 2022 - 06:09:08 EST


The list field of struct ts_ops is not documented:

include/linux/textsearch.h:51: warning: Function parameter or member 'list' not described in 'ts_ops'

Add a documentation for it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
---

To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
See [PATCH v3 00/21] at: https://lore.kernel.org/all/cover.1657360984.git.mchehab@xxxxxxxxxx/

include/linux/textsearch.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/textsearch.h b/include/linux/textsearch.h
index 6673e4d4ac2e..29de95657ff1 100644
--- a/include/linux/textsearch.h
+++ b/include/linux/textsearch.h
@@ -35,6 +35,7 @@ struct ts_state
* @get_pattern: return head of pattern
* @get_pattern_len: return length of pattern
* @owner: module reference to algorithm
+ * @list: pointer to ts_ops list
*/
struct ts_ops
{
--
2.36.1