Re: [PATCH 1/3] docs: fix some broken references

From: Bartosz Golaszewski
Date: Thu Oct 03 2019 - 03:53:22 EST


wt., 24 wrz 2019 o 15:01 Mauro Carvalho Chehab
<mchehab+samsung@xxxxxxxxxx> napisaÅ(a):
>
> There are a number of documentation files that got moved or
> renamed. update their references.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/cpu/cpu-topology.txt | 2 +-
> Documentation/devicetree/bindings/timer/ingenic,tcu.txt | 2 +-
> Documentation/driver-api/gpio/driver.rst | 2 +-
> Documentation/hwmon/inspur-ipsps1.rst | 2 +-
> Documentation/mips/ingenic-tcu.rst | 2 +-
> Documentation/networking/device_drivers/mellanox/mlx5.rst | 2 +-
> MAINTAINERS | 2 +-
> drivers/net/ethernet/faraday/ftgmac100.c | 2 +-
> drivers/net/ethernet/pensando/ionic/ionic_if.h | 4 ++--
> fs/cifs/cifsfs.c | 2 +-
> 10 files changed, 11 insertions(+), 11 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/cpu/cpu-topology.txt b/Documentation/devicetree/bindings/cpu/cpu-topology.txt
> index 99918189403c..9bd530a35d14 100644
> --- a/Documentation/devicetree/bindings/cpu/cpu-topology.txt
> +++ b/Documentation/devicetree/bindings/cpu/cpu-topology.txt
> @@ -549,5 +549,5 @@ Example 3: HiFive Unleashed (RISC-V 64 bit, 4 core system)
> [2] Devicetree NUMA binding description
> Documentation/devicetree/bindings/numa.txt
> [3] RISC-V Linux kernel documentation
> - Documentation/devicetree/bindings/riscv/cpus.txt
> + Documentation/devicetree/bindings/riscv/cpus.yaml
> [4] https://www.devicetree.org/specifications/
> diff --git a/Documentation/devicetree/bindings/timer/ingenic,tcu.txt b/Documentation/devicetree/bindings/timer/ingenic,tcu.txt
> index 5a4b9ddd9470..7f6fe20503f5 100644
> --- a/Documentation/devicetree/bindings/timer/ingenic,tcu.txt
> +++ b/Documentation/devicetree/bindings/timer/ingenic,tcu.txt
> @@ -2,7 +2,7 @@ Ingenic JZ47xx SoCs Timer/Counter Unit devicetree bindings
> ==========================================================
>
> For a description of the TCU hardware and drivers, have a look at
> -Documentation/mips/ingenic-tcu.txt.
> +Documentation/mips/ingenic-tcu.rst.
>
> Required properties:
>
> diff --git a/Documentation/driver-api/gpio/driver.rst b/Documentation/driver-api/gpio/driver.rst
> index 3fdb32422f8a..9076cc76d5bf 100644
> --- a/Documentation/driver-api/gpio/driver.rst
> +++ b/Documentation/driver-api/gpio/driver.rst
> @@ -493,7 +493,7 @@ available but we try to move away from this:
> gpiochip. It will pass the struct gpio_chip* for the chip to all IRQ
> callbacks, so the callbacks need to embed the gpio_chip in its state
> container and obtain a pointer to the container using container_of().
> - (See Documentation/driver-model/design-patterns.txt)
> + (See Documentation/driver-api/driver-model/design-patterns.rst)
>
> - gpiochip_irqchip_add_nested(): adds a nested cascaded irqchip to a gpiochip,
> as discussed above regarding different types of cascaded irqchips. The
> diff --git a/Documentation/hwmon/inspur-ipsps1.rst b/Documentation/hwmon/inspur-ipsps1.rst
> index 2b871ae3448f..ed32a65c30e1 100644
> --- a/Documentation/hwmon/inspur-ipsps1.rst
> +++ b/Documentation/hwmon/inspur-ipsps1.rst
> @@ -17,7 +17,7 @@ Usage Notes
> -----------
>
> This driver does not auto-detect devices. You will have to instantiate the
> -devices explicitly. Please see Documentation/i2c/instantiating-devices for
> +devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
> details.
>
> Sysfs entries
> diff --git a/Documentation/mips/ingenic-tcu.rst b/Documentation/mips/ingenic-tcu.rst
> index c4ef4c45aade..c5a646b14450 100644
> --- a/Documentation/mips/ingenic-tcu.rst
> +++ b/Documentation/mips/ingenic-tcu.rst
> @@ -68,4 +68,4 @@ and frameworks can be controlled from the same registers, all of these
> drivers access their registers through the same regmap.
>
> For more information regarding the devicetree bindings of the TCU drivers,
> -have a look at Documentation/devicetree/bindings/mfd/ingenic,tcu.txt.
> +have a look at Documentation/devicetree/bindings/timer/ingenic,tcu.txt.
> diff --git a/Documentation/networking/device_drivers/mellanox/mlx5.rst b/Documentation/networking/device_drivers/mellanox/mlx5.rst
> index d071c6b49e1f..a74422058351 100644
> --- a/Documentation/networking/device_drivers/mellanox/mlx5.rst
> +++ b/Documentation/networking/device_drivers/mellanox/mlx5.rst
> @@ -258,7 +258,7 @@ mlx5 tracepoints
> ================
>
> mlx5 driver provides internal trace points for tracking and debugging using
> -kernel tracepoints interfaces (refer to Documentation/trace/ftrase.rst).
> +kernel tracepoints interfaces (refer to Documentation/trace/ftrace.rst).
>
> For the list of support mlx5 events check /sys/kernel/debug/tracing/events/mlx5/
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 54f1286087e9..65b7d9a0a44a 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -3680,7 +3680,7 @@ M: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> R: Pengutronix Kernel Team <kernel@xxxxxxxxxxxxxx>
> L: linux-can@xxxxxxxxxxxxxxx
> S: Maintained
> -F: Documentation/networking/j1939.txt
> +F: Documentation/networking/j1939.rst
> F: net/can/j1939/
> F: include/uapi/linux/can/j1939.h
>
> diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c
> index 9b7af94a40bb..8abe5e90d268 100644
> --- a/drivers/net/ethernet/faraday/ftgmac100.c
> +++ b/drivers/net/ethernet/faraday/ftgmac100.c
> @@ -1835,7 +1835,7 @@ static int ftgmac100_probe(struct platform_device *pdev)
> }
>
> /* Indicate that we support PAUSE frames (see comment in
> - * Documentation/networking/phy.txt)
> + * Documentation/networking/phy.rst)
> */
> phy_support_asym_pause(phy);
>
> diff --git a/drivers/net/ethernet/pensando/ionic/ionic_if.h b/drivers/net/ethernet/pensando/ionic/ionic_if.h
> index 5bfdda19f64d..80028f781c83 100644
> --- a/drivers/net/ethernet/pensando/ionic/ionic_if.h
> +++ b/drivers/net/ethernet/pensando/ionic/ionic_if.h
> @@ -596,8 +596,8 @@ enum ionic_txq_desc_opcode {
> * the @encap is set, the device will
> * offload the outer header checksums using
> * LCO (local checksum offload) (see
> - * Documentation/networking/checksum-
> - * offloads.txt for more info).
> + * Documentation/networking/checksum-offloads.rst
> + * for more info).
> *
> * IONIC_TXQ_DESC_OPCODE_CSUM_HW:
> *
> diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> index 2e9c7f493f99..811f510578cb 100644
> --- a/fs/cifs/cifsfs.c
> +++ b/fs/cifs/cifsfs.c
> @@ -1529,7 +1529,7 @@ init_cifs(void)
> /*
> * Consider in future setting limit!=0 maybe to min(num_of_cores - 1, 3)
> * so that we don't launch too many worker threads but
> - * Documentation/workqueue.txt recommends setting it to 0
> + * Documentation/core-api/workqueue.rst recommends setting it to 0
> */
>
> /* WQ_UNBOUND allows decrypt tasks to run on any CPU */
> --
> 2.21.0
>

For GPIO:

Acked-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>