2023-03-31 17:13:55

by Kim Phillips

[permalink] [raw]
Subject: [PATCH] docs/mm: Physical Memory: Fix grammar

it's -> its
referenced to by -> referenced by

Fixes: 5d8c5e430a63 ("docs/mm: Physical Memory: add structure, introduction and nodes description")
Signed-off-by: Kim Phillips <[email protected]>
---
Documentation/mm/physical_memory.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/mm/physical_memory.rst b/Documentation/mm/physical_memory.rst
index 1bc888d36ea1..df2ed81e3639 100644
--- a/Documentation/mm/physical_memory.rst
+++ b/Documentation/mm/physical_memory.rst
@@ -19,7 +19,7 @@ a bank of memory very suitable for DMA near peripheral devices.

Each bank is called a node and the concept is represented under Linux by a
``struct pglist_data`` even if the architecture is UMA. This structure is
-always referenced to by it's typedef ``pg_data_t``. ``A pg_data_t`` structure
+always referenced by its typedef ``pg_data_t``. A ``pg_data_t`` structure
for a particular node can be referenced by ``NODE_DATA(nid)`` macro where
``nid`` is the ID of that node.

--
2.34.1


2023-04-01 02:52:19

by Bagas Sanjaya

[permalink] [raw]
Subject: Re: [PATCH] docs/mm: Physical Memory: Fix grammar

On 3/31/23 23:52, Kim Phillips wrote:
> diff --git a/Documentation/mm/physical_memory.rst b/Documentation/mm/physical_memory.rst
> index 1bc888d36ea1..df2ed81e3639 100644
> --- a/Documentation/mm/physical_memory.rst
> +++ b/Documentation/mm/physical_memory.rst
> @@ -19,7 +19,7 @@ a bank of memory very suitable for DMA near peripheral devices.
>
> Each bank is called a node and the concept is represented under Linux by a
> ``struct pglist_data`` even if the architecture is UMA. This structure is
> -always referenced to by it's typedef ``pg_data_t``. ``A pg_data_t`` structure
> +always referenced by its typedef ``pg_data_t``. A ``pg_data_t`` structure
> for a particular node can be referenced by ``NODE_DATA(nid)`` macro where
> ``nid`` is the ID of that node.
>

LGTM, thanks!

Reviewed-by: Bagas Sanjaya <[email protected]>

--
An old man doll... just what I always wanted! - Clara

2023-04-01 08:04:14

by Mike Rapoport

[permalink] [raw]
Subject: Re: [PATCH] docs/mm: Physical Memory: Fix grammar

On Fri, Mar 31, 2023 at 11:52:54AM -0500, Kim Phillips wrote:
> it's -> its
> referenced to by -> referenced by
>
> Fixes: 5d8c5e430a63 ("docs/mm: Physical Memory: add structure, introduction and nodes description")
> Signed-off-by: Kim Phillips <[email protected]>

Reviewed-by: Mike Rapoport (IBM) <[email protected]>

> ---
> Documentation/mm/physical_memory.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/mm/physical_memory.rst b/Documentation/mm/physical_memory.rst
> index 1bc888d36ea1..df2ed81e3639 100644
> --- a/Documentation/mm/physical_memory.rst
> +++ b/Documentation/mm/physical_memory.rst
> @@ -19,7 +19,7 @@ a bank of memory very suitable for DMA near peripheral devices.
>
> Each bank is called a node and the concept is represented under Linux by a
> ``struct pglist_data`` even if the architecture is UMA. This structure is
> -always referenced to by it's typedef ``pg_data_t``. ``A pg_data_t`` structure
> +always referenced by its typedef ``pg_data_t``. A ``pg_data_t`` structure
> for a particular node can be referenced by ``NODE_DATA(nid)`` macro where
> ``nid`` is the ID of that node.
>
> --
> 2.34.1
>

--
Sincerely yours,
Mike.

2023-04-10 22:53:40

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs/mm: Physical Memory: Fix grammar

Kim Phillips <[email protected]> writes:

> it's -> its
> referenced to by -> referenced by
>
> Fixes: 5d8c5e430a63 ("docs/mm: Physical Memory: add structure, introduction and nodes description")
> Signed-off-by: Kim Phillips <[email protected]>
> ---
> Documentation/mm/physical_memory.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/mm/physical_memory.rst b/Documentation/mm/physical_memory.rst
> index 1bc888d36ea1..df2ed81e3639 100644
> --- a/Documentation/mm/physical_memory.rst
> +++ b/Documentation/mm/physical_memory.rst
> @@ -19,7 +19,7 @@ a bank of memory very suitable for DMA near peripheral devices.
>
> Each bank is called a node and the concept is represented under Linux by a
> ``struct pglist_data`` even if the architecture is UMA. This structure is
> -always referenced to by it's typedef ``pg_data_t``. ``A pg_data_t`` structure
> +always referenced by its typedef ``pg_data_t``. A ``pg_data_t`` structure
> for a particular node can be referenced by ``NODE_DATA(nid)`` macro where
> ``nid`` is the ID of that node.

Applied, thanks.

jon