2018-03-23 07:34:06

by Martin Kepplinger

[permalink] [raw]
Subject: [PATCH] Documentation: magic-numbers: Fix typo

This fixes a little then / them confusion.

Signed-off-by: Martin Kepplinger <[email protected]>
---
Documentation/process/magic-number.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/process/magic-number.rst b/Documentation/process/magic-number.rst
index c74199f60c6c..00cecf1fcba9 100644
--- a/Documentation/process/magic-number.rst
+++ b/Documentation/process/magic-number.rst
@@ -14,7 +14,7 @@ passing pointers to structures via a void * pointer. The tty code,
for example, does this frequently to pass driver-specific and line
discipline-specific structures back and forth.

-The way to use magic numbers is to declare then at the beginning of
+The way to use magic numbers is to declare them at the beginning of
the structure, like so::

struct tty_ldisc {
--
2.14.2



2018-03-26 14:44:03

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: magic-numbers: Fix typo

On Fri, 23 Mar 2018 08:32:31 +0100
Martin Kepplinger <[email protected]> wrote:

> This fixes a little then / them confusion.
>
> Signed-off-by: Martin Kepplinger <[email protected]>
> ---
> Documentation/process/magic-number.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/process/magic-number.rst b/Documentation/process/magic-number.rst
> index c74199f60c6c..00cecf1fcba9 100644
> --- a/Documentation/process/magic-number.rst
> +++ b/Documentation/process/magic-number.rst
> @@ -14,7 +14,7 @@ passing pointers to structures via a void * pointer. The tty code,
> for example, does this frequently to pass driver-specific and line
> discipline-specific structures back and forth.
>
> -The way to use magic numbers is to declare then at the beginning of
> +The way to use magic numbers is to declare them at the beginning of
> the structure, like so::
>
> struct tty_ldisc {

Applied, thanks.

jon