Messages in this thread Patch in this message | | | From | Omar Sandoval <> | Subject | [PATCH] textsearch: clarify how to clean up in doc | Date | Thu, 9 Oct 2014 14:11:57 -0700 |
| |
textsearch_put() doesn't exist; this comment appears to be referring to textsearch_destroy().
Signed-off-by: Omar Sandoval <osandov@osandov.com> --- This patch applies to 3.17. There was a patch submitted previously which got rid of this documentation (https://lkml.org/lkml/2014/9/6/128), but this is a little more clear, as clean up is still required.
lib/textsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/textsearch.c b/lib/textsearch.c index 0c7e9ab..7f52c8f 100644 --- a/lib/textsearch.c +++ b/lib/textsearch.c @@ -251,7 +251,7 @@ EXPORT_SYMBOL(textsearch_find_continuous); * Looks up the search algorithm module and creates a new textsearch * configuration for the specified pattern. Upon completion all * necessary refcnts are held and the configuration must be put back - * using textsearch_put() after usage. + * using textsearch_destroy() after usage. * * Note: The format of the pattern may not be compatible between * the various search algorithms. -- 2.1.2
| |