]> git.baikalelectronics.ru Git - kernel.git/commit
kernel-doc: Handle returning pointers to pointers
authorMatthew Wilcox <mawilcox@microsoft.com>
Mon, 23 Jan 2017 08:18:10 +0000 (00:18 -0800)
committerJonathan Corbet <corbet@lwn.net>
Thu, 26 Jan 2017 22:20:10 +0000 (15:20 -0700)
commit17c6f4ae88bf5b0be2777ca279f3c1a16b8d755b
tree975b35710dad007b43e40396c8783424a79921a9
parent5c87f69974173c18560912008675134d6ef5304c
kernel-doc: Handle returning pointers to pointers

Clearly nobody ever tried to build the documentation for the radix tree
before:

include/linux/radix-tree.h:400: warning: cannot understand function
prototype: 'void ** radix_tree_iter_init(struct radix_tree_iter *iter,
unsigned long start) '

Indeed, the regexes only handled a single '*', not one-or-more.  I have
tried to fix that, but now I have perl regexes all over my hands, and
I fear I shall never be clean again.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc