[PATCH] Documentation: Remove repeated word in docs

Charles Han posted 1 patch 10 months, 1 week ago
There is a newer version of this series
.../devicetree/bindings/net/can/microchip,mcp251xfd.yaml        | 2 +-
Documentation/filesystems/xfs/xfs-online-fsck-design.rst        | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] Documentation: Remove repeated word in docs
Posted by Charles Han 10 months, 1 week ago
Remove the repeated word "to" docs.

Signed-off-by: Charles Han <hanchunchao@inspur.com>
---
 .../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       |
 | always matched when reconstructing a directory.                          |
 |                                                                          |
 | There were a few other ways to have solved that problem:                 |
-- 
2.43.0

Re: [PATCH] Documentation: Remove repeated word in docs
Posted by Vincent Mailhol 10 months, 1 week ago
On 06/02/2025 at 18:15, Charles Han wrote:
> Remove the repeated word "to" docs.
> 
> Signed-off-by: Charles Han <hanchunchao@inspur.com>
> ---
>  .../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

Re: [PATCH] Documentation: Remove repeated word in docs
Posted by Bagas Sanjaya 10 months, 1 week ago
On Thu, Feb 06, 2025 at 07:56:36PM +0900, Vincent Mailhol wrote:
> On 06/02/2025 at 18:15, Charles Han wrote:
> > 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.

Indeed because Sphinx spills out malformed table error:

Documentation/filesystems/xfs/xfs-online-fsck-design.rst:4479: ERROR: Malformed table.
> <snipped>...
| 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 ensure that the ``dirent_pos`` field       |
| always matched when reconstructing a directory.                          |
|                                                                          |
| There were a few other ways to have solved that problem:                 |
> <snipped>... 

Hence I didn't see that historical sidebar in htmldocs output.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara
Re: [PATCH] Documentation: Remove repeated word in docs
Posted by Marc Kleine-Budde 10 months, 1 week ago
On 06.02.2025 17:15:29, Charles Han wrote:
> Remove the repeated word "to" docs.
> 
> Signed-off-by: Charles Han <hanchunchao@inspur.com>

Feel free to take the patch.

Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |