2023-01-13 08:52:47

by Qiuxu Zhuo

[permalink] [raw]
Subject: [PATCH 1/1] Documentation/RCU: Fix a typo in checklist.rst

"Please not that you *cannot* rely..." probably has a typo.
Fix it.

Signed-off-by: Qiuxu Zhuo <[email protected]>
---
Not sure whether it's a too small typo to need this patch.
If so, sorry for the noise. :-)

Documentation/RCU/checklist.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/RCU/checklist.rst b/Documentation/RCU/checklist.rst
index cc361fb01ed4..bd3c58c44bef 100644
--- a/Documentation/RCU/checklist.rst
+++ b/Documentation/RCU/checklist.rst
@@ -70,7 +70,7 @@ over a rather long period of time, but improvements are always welcome!
can serve as rcu_read_lock_sched(), but is less readable and
prevents lockdep from detecting locking issues.

- Please not that you *cannot* rely on code known to be built
+ Please note that you *cannot* rely on code known to be built
only in non-preemptible kernels. Such code can and will break,
especially in kernels built with CONFIG_PREEMPT_COUNT=y.

--
2.17.1


2023-01-13 20:09:26

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH 1/1] Documentation/RCU: Fix a typo in checklist.rst

On Fri, Jan 13, 2023 at 04:31:08PM +0800, Qiuxu Zhuo wrote:
> "Please not that you *cannot* rely..." probably has a typo.
> Fix it.
>
> Signed-off-by: Qiuxu Zhuo <[email protected]>
> ---
> Not sure whether it's a too small typo to need this patch.
> If so, sorry for the noise. :-)

Not at all! Queued for the v6.4 merge window, thank you. (Not the
upcoming merge window, but the one after that.)

Thanx, Paul

> Documentation/RCU/checklist.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/RCU/checklist.rst b/Documentation/RCU/checklist.rst
> index cc361fb01ed4..bd3c58c44bef 100644
> --- a/Documentation/RCU/checklist.rst
> +++ b/Documentation/RCU/checklist.rst
> @@ -70,7 +70,7 @@ over a rather long period of time, but improvements are always welcome!
> can serve as rcu_read_lock_sched(), but is less readable and
> prevents lockdep from detecting locking issues.
>
> - Please not that you *cannot* rely on code known to be built
> + Please note that you *cannot* rely on code known to be built
> only in non-preemptible kernels. Such code can and will break,
> especially in kernels built with CONFIG_PREEMPT_COUNT=y.
>
> --
> 2.17.1
>