All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Fix broken documentation references at v5.2-rc1
@ 2019-05-20 14:47 Mauro Carvalho Chehab
  2019-05-20 14:47 ` [PATCH 01/10] scripts/documentation-file-ref-check: better handle translations Mauro Carvalho Chehab
                   ` (11 more replies)
  0 siblings, 12 replies; 70+ messages in thread
From: Mauro Carvalho Chehab @ 2019-05-20 14:47 UTC (permalink / raw)
  To: Linux Doc Mailing List
  Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, linux-kernel,
	Jonathan Corbet

There are several broken Documentation/* references within the Kernel
tree. There are some reasons for several of them:

1. The acpi and x86 documentation files were renamed, but the
   references weren't updated;
2. The DT files have been converted to JSON format, causing them
   to be renamed;
3. Translated files point to future translation work still pending merge
   or require some action from someone that it is fluent at the
   translated language;
4. Some files (specially at DT) weren't accepted yet, but there are already
   references for them (at MAINTAINERS and on other DT files);
5. Some files got removed without addressing Documentation, with
   needs them to describe some things.

This series addresses problems 1 and 2, plus other random trivial
breakages. Problems 3 to 5 depend on either accepting a patch or
some specific knowledge. So, won't be addressed by this series.

The first 4 patches improve the documentation script to address some
corner cases I detected while doing this series. The remaining ones are
documentation fixes, being the last one having just trivial renaming
stuff all over the Kernel tree.

After this series, only those warnings will be reported on v5.2-rc1:

Removed file without a non-trivial documentation adjustment:

    Documentation/cgroup-v1/blkio-controller.txt: Documentation/block/cfq-iosched.txt
    Documentation/cgroup-v1/blkio-controller.txt: Documentation/block/cfq-iosched.txt

The documentation file uses cfq as an example, but it got removed
recently. Some parts of doc should be re-written to use another
scheduler as an example.

Files pending addition (as far as I identified, there were e-mails asking
their inclusions, but it didn't happen upstream yet):

    Documentation/devicetree/bindings/regulator/rohm,bd70528-regulator.txt: Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt
    Documentation/driver-api/generic-counter.rst: Documentation/ABI/testing/sys-bus-counter-generic-sysfs
    Documentation/driver-api/generic-counter.rst: Documentation/ABI/testing/sys-bus-counter
    MAINTAINERS: Documentation/devicetree/bindings/rng/samsung,exynos5250-trng.txt

Translation files with broken stuff:

    Documentation/translations/it_IT/process/adding-syscalls.rst: Documentation/translations/it_IT/filesystems/sysfs.txt
    Documentation/translations/it_IT/process/coding-style.rst: Documentation/translations/it_IT/kbuild/kconfig-language.txt
    Documentation/translations/it_IT/process/magic-number.rst: Documentation/process/magic-numbers.rst
    Documentation/translations/zh_CN/basic_profiling.txt: Documentation/basic_profiling
    Documentation/translations/zh_CN/basic_profiling.txt: Documentation/basic_profiling
    Documentation/translations/zh_CN/process/howto.rst: Documentation/DocBook/

Mauro Carvalho Chehab (10):
  scripts/documentation-file-ref-check: better handle translations
  scripts/documentation-file-ref-check: exclude false-positives
  scripts/documentation-file-ref-check: improve tools ref handling
  scripts/documentation-file-ref-check: teach about .txt -> .yaml
    renames
  ABI: sysfs-devices-system-cpu: point to the right docs
  isdn: mISDN: remove a bogus reference to a non-existing doc
  mfd: madera: point to the right pinctrl binding file
  dt: fix refs that were renamed to json with the same file name
  dt: fix broken references to nand.txt
  docs: fix broken documentation links

 .../ABI/testing/sysfs-devices-system-cpu      |  3 +-
 Documentation/acpi/dsd/leds.txt               |  2 +-
 .../admin-guide/kernel-parameters.rst         |  6 +--
 .../admin-guide/kernel-parameters.txt         | 16 +++----
 Documentation/admin-guide/ras.rst             |  2 +-
 .../devicetree/bindings/arm/omap/crossbar.txt |  2 +-
 .../bindings/clock/samsung,s5pv210-clock.txt  |  2 +-
 .../marvell,odmi-controller.txt               |  2 +-
 .../bindings/leds/irled/spi-ir-led.txt        |  2 +-
 .../bindings/mtd/amlogic,meson-nand.txt       |  2 +-
 .../devicetree/bindings/mtd/gpmc-nand.txt     |  2 +-
 .../devicetree/bindings/mtd/marvell-nand.txt  |  2 +-
 .../devicetree/bindings/mtd/tango-nand.txt    |  2 +-
 .../devicetree/bindings/net/fsl-enetc.txt     |  7 ++-
 .../bindings/pci/amlogic,meson-pcie.txt       |  2 +-
 .../regulator/qcom,rpmh-regulator.txt         |  2 +-
 .../devicetree/booting-without-of.txt         |  2 +-
 Documentation/driver-api/gpio/board.rst       |  2 +-
 Documentation/driver-api/gpio/consumer.rst    |  2 +-
 .../firmware-guide/acpi/enumeration.rst       |  2 +-
 .../firmware-guide/acpi/method-tracing.rst    |  2 +-
 Documentation/i2c/instantiating-devices       |  2 +-
 Documentation/sysctl/kernel.txt               |  4 +-
 .../translations/it_IT/process/4.Coding.rst   |  2 +-
 .../translations/it_IT/process/howto.rst      |  2 +-
 .../it_IT/process/stable-kernel-rules.rst     |  4 +-
 .../translations/zh_CN/process/4.Coding.rst   |  2 +-
 Documentation/x86/x86_64/5level-paging.rst    |  2 +-
 Documentation/x86/x86_64/boot-options.rst     |  4 +-
 .../x86/x86_64/fake-numa-for-cpusets.rst      |  2 +-
 MAINTAINERS                                   | 10 ++---
 arch/arm/Kconfig                              |  2 +-
 arch/arm64/kernel/kexec_image.c               |  2 +-
 arch/powerpc/Kconfig                          |  2 +-
 arch/x86/Kconfig                              | 16 +++----
 arch/x86/Kconfig.debug                        |  2 +-
 arch/x86/boot/header.S                        |  2 +-
 arch/x86/entry/entry_64.S                     |  2 +-
 arch/x86/include/asm/bootparam_utils.h        |  2 +-
 arch/x86/include/asm/page_64_types.h          |  2 +-
 arch/x86/include/asm/pgtable_64_types.h       |  2 +-
 arch/x86/kernel/cpu/microcode/amd.c           |  2 +-
 arch/x86/kernel/kexec-bzimage64.c             |  2 +-
 arch/x86/kernel/pci-dma.c                     |  2 +-
 arch/x86/mm/tlb.c                             |  2 +-
 arch/x86/platform/pvh/enlighten.c             |  2 +-
 drivers/acpi/Kconfig                          | 10 ++---
 drivers/isdn/mISDN/dsp_core.c                 |  2 -
 drivers/net/ethernet/faraday/ftgmac100.c      |  2 +-
 .../fieldbus/Documentation/fieldbus_dev.txt   |  4 +-
 drivers/vhost/vhost.c                         |  2 +-
 include/acpi/acpi_drivers.h                   |  2 +-
 include/linux/fs_context.h                    |  2 +-
 include/linux/lsm_hooks.h                     |  2 +-
 include/linux/mfd/madera/pdata.h              |  3 +-
 mm/Kconfig                                    |  2 +-
 scripts/documentation-file-ref-check          | 44 +++++++++++++++----
 security/Kconfig                              |  2 +-
 tools/include/linux/err.h                     |  2 +-
 .../Documentation/stack-validation.txt        |  4 +-
 tools/testing/selftests/x86/protection_keys.c |  2 +-
 61 files changed, 127 insertions(+), 102 deletions(-)

-- 
2.21.0



^ permalink raw reply	[flat|nested] 70+ messages in thread

end of thread, other threads:[~2019-05-27  8:45 UTC | newest]

Thread overview: 70+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-20 14:47 [PATCH 00/10] Fix broken documentation references at v5.2-rc1 Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 01/10] scripts/documentation-file-ref-check: better handle translations Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 02/10] scripts/documentation-file-ref-check: exclude false-positives Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 03/10] scripts/documentation-file-ref-check: improve tools ref handling Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 04/10] scripts/documentation-file-ref-check: teach about .txt -> .yaml renames Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 05/10] ABI: sysfs-devices-system-cpu: point to the right docs Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 06/10] isdn: mISDN: remove a bogus reference to a non-existing doc Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 07/10] mfd: madera: point to the right pinctrl binding file Mauro Carvalho Chehab
2019-05-20 15:42   ` Charles Keepax
2019-05-20 15:42     ` Charles Keepax
2019-05-20 18:48     ` Mauro Carvalho Chehab
2019-05-20 18:48       ` Mauro Carvalho Chehab
2019-05-20 14:47 ` [PATCH 08/10] dt: fix refs that were renamed to json with the same file name Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 15:57   ` Rob Herring
2019-05-20 15:57     ` Rob Herring
2019-05-20 16:13     ` Mauro Carvalho Chehab
2019-05-20 16:13       ` Mauro Carvalho Chehab
2019-05-20 23:00       ` Rob Herring
2019-05-20 23:00         ` Rob Herring
2019-05-20 14:47 ` [PATCH 09/10] dt: fix broken references to nand.txt Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 15:37   ` Miquel Raynal
2019-05-20 15:37     ` Miquel Raynal
2019-05-20 15:37     ` Miquel Raynal
2019-05-20 15:37     ` Miquel Raynal
2019-05-20 14:47 ` [PATCH 10/10] docs: fix broken documentation links Mauro Carvalho Chehab
2019-05-20 14:47 ` Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 14:47   ` [Xen-devel] " Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 14:47   ` mchehab+samsung
2019-05-20 14:47   ` Mauro Carvalho Chehab
2019-05-20 15:05   ` Wolfram Sang
2019-05-20 15:05     ` Wolfram Sang
2019-05-20 15:05     ` [Xen-devel] " Wolfram Sang
2019-05-20 15:05     ` Wolfram Sang
2019-05-20 15:05     ` Wolfram Sang
2019-05-20 15:05     ` Wolfram Sang
2019-05-20 15:05     ` wsa
2019-05-20 15:05   ` Wolfram Sang
2019-05-20 15:05   ` Wolfram Sang
2019-05-21 22:56   ` Federico Vaga
2019-05-21 22:56     ` Federico Vaga
2019-05-21 22:56     ` [Xen-devel] " Federico Vaga
2019-05-21 22:56     ` Federico Vaga
2019-05-21 22:56     ` Federico Vaga
2019-05-21 22:56     ` Federico Vaga
2019-05-21 22:56     ` federico.vaga
2019-05-21 22:56   ` Federico Vaga
2019-05-21 22:56   ` Federico Vaga
2019-05-27  8:43   ` Rafael J. Wysocki
2019-05-27  8:43     ` [Devel] " Rafael J. Wysocki
2019-05-27  8:43     ` Rafael J. Wysocki
2019-05-27  8:43     ` [Xen-devel] " Rafael J. Wysocki
2019-05-27  8:43     ` Rafael J. Wysocki
2019-05-27  8:43     ` Rafael J. Wysocki
2019-05-27  8:43     ` Rafael J. Wysocki
2019-05-27  8:43     ` Rafael J. Wysocki
2019-05-27  8:43     ` rafael
2019-05-27  8:43     ` Rafael J. Wysocki
2019-05-27  8:43   ` Rafael J. Wysocki
2019-05-27  8:43   ` Rafael J. Wysocki
2019-05-21 22:54 ` [PATCH 00/10] Fix broken documentation references at v5.2-rc1 Federico Vaga
2019-05-22  0:26   ` Mauro Carvalho Chehab
2019-05-22 20:18     ` Federico Vaga

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.