linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/locking/locktypes: fix the typo
@ 2020-08-13  6:02 Huang Shijie
  2020-08-13 12:26 ` Will Deacon
  2020-08-13 20:48 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Huang Shijie @ 2020-08-13  6:02 UTC (permalink / raw)
  To: peterz; +Cc: mingo, will, corbet, linux-kernel, linux-doc, Huang Shijie

We have three categories locks, not two.

Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
---
 Documentation/locking/locktypes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
index 1b577a8bf982..4cefed8048ca 100644
--- a/Documentation/locking/locktypes.rst
+++ b/Documentation/locking/locktypes.rst
@@ -10,7 +10,7 @@ Introduction
 ============
 
 The kernel provides a variety of locking primitives which can be divided
-into two categories:
+into three categories:
 
  - Sleeping locks
  - CPU local locks
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/locking/locktypes: fix the typo
  2020-08-13  6:02 [PATCH] Documentation/locking/locktypes: fix the typo Huang Shijie
@ 2020-08-13 12:26 ` Will Deacon
  2020-08-13 20:48 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2020-08-13 12:26 UTC (permalink / raw)
  To: Huang Shijie; +Cc: peterz, mingo, corbet, linux-kernel, linux-doc

On Thu, Aug 13, 2020 at 02:02:20PM +0800, Huang Shijie wrote:
> We have three categories locks, not two.
> 
> Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
> ---
>  Documentation/locking/locktypes.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
> index 1b577a8bf982..4cefed8048ca 100644
> --- a/Documentation/locking/locktypes.rst
> +++ b/Documentation/locking/locktypes.rst
> @@ -10,7 +10,7 @@ Introduction
>  ============
>  
>  The kernel provides a variety of locking primitives which can be divided
> -into two categories:
> +into three categories:
>  
>   - Sleeping locks
>   - CPU local locks

Acked-by: Will Deacon <will@kernel.org>

Will

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/locking/locktypes: fix the typo
  2020-08-13  6:02 [PATCH] Documentation/locking/locktypes: fix the typo Huang Shijie
  2020-08-13 12:26 ` Will Deacon
@ 2020-08-13 20:48 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2020-08-13 20:48 UTC (permalink / raw)
  To: Huang Shijie; +Cc: peterz, mingo, will, linux-kernel, linux-doc

On Thu, 13 Aug 2020 14:02:20 +0800
Huang Shijie <sjhuang@iluvatar.ai> wrote:

> We have three categories locks, not two.
> 
> Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
> ---
>  Documentation/locking/locktypes.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
> index 1b577a8bf982..4cefed8048ca 100644
> --- a/Documentation/locking/locktypes.rst
> +++ b/Documentation/locking/locktypes.rst
> @@ -10,7 +10,7 @@ Introduction
>  ============
>  
>  The kernel provides a variety of locking primitives which can be divided
> -into two categories:
> +into three categories:

One can never get away from those off-by-one errors...applied, thanks.

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-13 20:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-13  6:02 [PATCH] Documentation/locking/locktypes: fix the typo Huang Shijie
2020-08-13 12:26 ` Will Deacon
2020-08-13 20:48 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).