]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - scripts/kernel-doc
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)
commit5a0bc578e0723b71ecb19f5796d0b0f937785d92
tree975b35710dad007b43e40396c8783424a79921a9
parent31fc93d5f29b300307cda5aef95d890954337e01
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