]> git.baikalelectronics.ru Git - kernel.git/commit
textsearch: fix kernel-doc warnings and add kernel-api section
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 16 Apr 2018 19:32:55 +0000 (12:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Apr 2018 22:53:13 +0000 (18:53 -0400)
commitb7b89c7dbec7a79cd438dc55180ca3cadc98fb96
tree43bb11706900c554dc499ae8e8c31b12e4b66486
parent255ad4ba62b9d0b76f28cbcd297eff9d86d86ad8
textsearch: fix kernel-doc warnings and add kernel-api section

Make lib/textsearch.c usable as kernel-doc.
Add textsearch() function family to kernel-api documentation.
Fix kernel-doc warnings in <linux/textsearch.h>:
  ../include/linux/textsearch.h:65: warning: Incorrect use of kernel-doc format:
* get_next_block - fetch next block of data
  ../include/linux/textsearch.h:82: warning: Incorrect use of kernel-doc format:
* finish - finalize/clean a series of get_next_block() calls

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/core-api/kernel-api.rst
include/linux/textsearch.h
lib/textsearch.c