scripts/kernel-doc: fix handling of parameters with parenthesis
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 30 Mar 2017 20:11:29 +0000 (17:11 -0300)
committerJonathan Corbet <corbet@lwn.net>
Sun, 2 Apr 2017 20:06:56 +0000 (14:06 -0600)
commitf9b5c5304ce212b72c5c997b298ab96002e1634f
tree08d0a5a9cfb01dde6b2cd7cf7a843fcab543c854
parentb97f193abf83e30ef43317ba4883ce3a82f8e8b2
scripts/kernel-doc: fix handling of parameters with parenthesis

lib/crc32c defines one parameter as:
const u32 (*tab)[256]

Better handle parenthesis, to avoid those warnings:

./lib/crc32.c:149: warning: No description found for parameter 'tab)[256]'
./lib/crc32.c:149: warning: Excess function parameter 'tab' description in 'crc32_le_generic'
./lib/crc32.c:294: warning: No description found for parameter 'tab)[256]'
./lib/crc32.c:294: warning: Excess function parameter 'tab' description in 'crc32_be_generic'

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/kernel-doc