Re: [PATCH] Documentation: Remove repeated word in docs

From: Vincent Mailhol
Date: Thu Feb 06 2025 - 06:02:09 EST


On 06/02/2025 at 18:15, Charles Han wrote:
> Remove the repeated word "to" docs.
>
> Signed-off-by: Charles Han <hanchunchao@xxxxxxxxxx>
> ---
> .../devicetree/bindings/net/can/microchip,mcp251xfd.yaml | 2 +-
> Documentation/filesystems/xfs/xfs-online-fsck-design.rst | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml b/Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml
> index 2a98b26630cb..c155c9c6db39 100644
> --- a/Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml
> +++ b/Documentation/devicetree/bindings/net/can/microchip,mcp251xfd.yaml
> @@ -40,7 +40,7 @@ properties:
>
> microchip,rx-int-gpios:
> description:
> - GPIO phandle of GPIO connected to to INT1 pin of the MCP251XFD, which
> + GPIO phandle of GPIO connected to INT1 pin of the MCP251XFD, which
> signals a pending RX interrupt.
> maxItems: 1
>
> diff --git a/Documentation/filesystems/xfs/xfs-online-fsck-design.rst b/Documentation/filesystems/xfs/xfs-online-fsck-design.rst
> index 12aa63840830..994f9e5638ee 100644
> --- a/Documentation/filesystems/xfs/xfs-online-fsck-design.rst
> +++ b/Documentation/filesystems/xfs/xfs-online-fsck-design.rst
> @@ -4521,7 +4521,7 @@ Both online and offline repair can use this strategy.
> | For this second effort, the ondisk parent pointer format as originally |
> | proposed was ``(parent_inum, parent_gen, dirent_pos) → (dirent_name)``. |
> | The format was changed during development to eliminate the requirement |
> -| of repair tools needing to to ensure that the ``dirent_pos`` field |
> +| of repair tools needing to ensure that the ``dirent_pos`` field |

This breaks the indentation of the pipe on the right.

> | always matched when reconstructing a directory. |
> | |
> | There were a few other ways to have solved that problem: |


Yours sincerely,
Vincent Mailhol