The patch titled kernel-doc: handle spaces in array size has been removed from the -mm tree. Its filename was kernel-doc-handle-spaces-in-array-size.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ Subject: kernel-doc: handle spaces in array size From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> Unfortunately, kernel-doc has problems with a struct field like this: uint8_t databuf[NAND_MAX_PAGESIZE + NAND_MAX_OOBSIZE]; simply due to the spaces around the "+" sign, so drop all spaces inside [...] so that parsing is done correctly (in some sense). Warning(linux-2.6.20-git15/include/linux/mtd/nand.h:304): No description found for parameter 'NAND_MAX_OOBSIZE]' This needs to sit in -mm for awhile to see if it has any adverse effects. And yes, this is just a hack until kernel-doc learns to do better parsing. Signed-off-by: Jan Engelhardt <jengelh@xxxxxx> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- scripts/kernel-doc | 5 +++++ 1 file changed, 5 insertions(+) diff -puN scripts/kernel-doc~kernel-doc-handle-spaces-in-array-size scripts/kernel-doc --- a/scripts/kernel-doc~kernel-doc-handle-spaces-in-array-size +++ a/scripts/kernel-doc @@ -1452,6 +1452,11 @@ sub create_parameterlist($$$) { $arg =~ s/\s*:\s*/:/g; $arg =~ s/\s*\[/\[/g; + # no spaces inside [array size expression]; + # messes up split/pop/shift/unshift below; + while ($arg =~ s/\[(.*)\s+(.*)\]/[$1$2]/) { + } + my @args = split('\s*,\s*', $arg); if ($args[0] =~ m/\*/) { $args[0] =~ s/(\*+)\s*/ $1/; _ Patches currently in -mm which might be from jengelh@xxxxxxxxxxxxxxx are git-kbuild.patch remove-artificial-software-max_loop-limit.patch fix-kevents-childs-priority-greediness.patch kernel-doc-handle-spaces-in-array-size.patch vt-allow-for-the-palette-to-be-exposed-and-changed-via-sysfs.patch vt-add-color-support-to-the-underline-and-italic-attributes.patch vt-expose-system-wide-utf-8-default-setting-via-sysfs.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html