scripts: kernel_doc: fixup reporting of function identifiers
authorMike Rapoport <rppt@linux.vnet.ibm.com>
Tue, 13 Feb 2018 11:31:46 +0000 (13:31 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 18 Feb 2018 23:45:53 +0000 (16:45 -0700)
commita8dae20b1d39dd2785ff7f746338b1b9e51e3335
tree34b3d8c52f142b56140043e678b9751784fc6501
parentbc0ef4a7e4c322ceeee00b1becab966cba7fedb7
scripts: kernel_doc: fixup reporting of function identifiers

When function description includes brackets after the function name as
suggested by Documentation/doc-guide/kernel-doc, the kernel-doc script
omits the function name from "Scanning doc for" report.
Extending match for identifier name with optional brackets fixes this
issue.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc