aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-02 11:32:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-02 13:45:37 +0100
commitdaaaf58a2b7fd59951bd090eddee131f26422e20 (patch)
tree181d51b8ff13bc16c0ea36cdb13e29a2d3894101 /tools/perf/scripts/python/net_dropmonitor.py
parentdocs: leds: index.rst: add a missing file (diff)
downloadlinux-daaaf58a2b7fd59951bd090eddee131f26422e20.tar.gz
linux-daaaf58a2b7fd59951bd090eddee131f26422e20.zip
scripts: get_abi.pl: Don't let ABI files to create subtitles
The ReST output should only contain documentation titles automatically created by the script. There are two reasons for that: 1) Consistency. just a handful ABI docs define titles 2) To avoid critical errors. Docutils (which is the basis for Sphinx) allows a free assign of documentation title markups. So, one document could be doing things like: Level 1 ======= Level 2 ------- While another one could do the reverse: Level 1 ------- Level 2 ======= But the same document can't mix. As the output of get_abi.pl will join contents from multiple files, if they don't define the levels on a consistent errors, errors like this can happen: Sphinx parallel build error: docutils.utils.SystemMessage: /home/rdunlap/lnx/lnx-510-rc2/Documentation/ABI/testing/sysfs-bus-rapidio:2: (SEVERE/4) Title level inconsistent: Attributes Common for All RapidIO Devices ----------------------------------------- Which cause some versions of Sphinx to go into an endless loop. It should be noticed that an alternative to that would be to replace all title occurrences by a single markup, but that will make the parser more complex, and, due to (1) it would generate an inconsistent output. So, better to just remove the titles defined at the ABI files from the output. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/6c62ef5c01d39dee8d891f8390c816d2a889670a.1604312590.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
9:47:24 +0200'>2019-04-25lib/siphash.c: mark expected switch fall-throughsStephen Rothwell1-18/+18 2019-04-25nvmem: core: add NVMEM_SYSFS KconfigSrinivas Kandagatla6-260/+337 2019-04-25nvmem: sunxi_sid: Support SID on H6Yangtao Li1-0/+6 2019-04-25nvmem: sunxi-sid: convert to SPDX license tagsYangtao Li1-10/+1 2019-04-25nvmem: sunxi-sid: add binding for H6's SID controllerYangtao Li1-0/+1 2019-04-25nvmem: sunxi-sid: fix wrong description in kernel docYangtao Li1-1/+1 2019-04-25nvmem: imx-iim: use devm_platform_ioremap_resource() to simplify codeAnson Huang1-3/+1 2019-04-25nvmem: mxs-ocotp: use devm_platform_ioremap_resource() to simplify codeAnson Huang1-3/+1 2019-04-25nvmem: imx-ocotp: use devm_platform_ioremap_resource() to simplify codeAnson Huang1-3/+1 2019-04-25nvmem: core: fix read buffer in placeJorge Ramirez-Ortiz1-5/+10 2019-04-25nvmem: core: add nvmem_cell_read_u16Fabrice Gasnier2-0/+44 2019-04-25nvmem: stm32: add support for STM32MP15 BSEC to control OTP dataFabrice Gasnier1-5/+129 2019-04-25nvmem: Add driver for STM32 factory-programmed read only memFabrice Gasnier3-0/+90