]> git.baikalelectronics.ru Git - kernel.git/commit
kernel-doc: do not warn about duplicate default section names
authorJani Nikula <jani.nikula@intel.com>
Fri, 10 Jun 2016 08:14:05 +0000 (11:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 10 Jun 2016 08:29:18 +0000 (11:29 +0300)
commit59fe85fbcf5dd5382ee825410d1a6db1ae275975
tree573cf4c74d23767e96af689d1daba9ec39ecc0f8
parent7e25fa2a59838ffd3e8ec6d90ff63e90cbf22c27
kernel-doc: do not warn about duplicate default section names

Since

commit 3e2e430ce93759319b58303bdf9cf67765e6d045
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Sun May 29 09:40:44 2016 +0300

    kernel-doc: concatenate contents of colliding sections

we started getting (more) errors on duplicate section names, especially
on the default section name "Description":

include/net/mac80211.h:3174: warning: duplicate section name 'Description'

This is usually caused by a slightly unorthodox placement of parameter
descriptions, like in the above case, and kernel-doc resetting back to
the default section more than once within a kernel-doc comment.

Ignore warnings on the duplicate section name automatically assigned by
kernel-doc, and only consider explicitly user assigned duplicate section
names an issue.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
scripts/kernel-doc