diff mbox series

[1/1] docs: RCU: typo fix

Message ID 20230316070936.733-1-adrianhuang0701@gmail.com (mailing list archive)
State Accepted
Commit 1848dfb5727ba92376e5dd337329ee75c34f5039
Headers show
Series [1/1] docs: RCU: typo fix | expand

Commit Message

Adrian Huang March 16, 2023, 7:09 a.m. UTC
From: Adrian Huang <ahuang12@lenovo.com>

It should be "Please note that ..." instead of "Please not that ...".

Signed-off-by: Adrian Huang <ahuang12@lenovo.com>
---
 Documentation/RCU/checklist.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joel Fernandes March 16, 2023, 3:18 p.m. UTC | #1
On Thu, Mar 16, 2023 at 03:09:36PM +0800, Adrian Huang wrote:
> From: Adrian Huang <ahuang12@lenovo.com>
> 
> It should be "Please note that ..." instead of "Please not that ...".
> 
> Signed-off-by: Adrian Huang <ahuang12@lenovo.com>

Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>

thanks,

 - Joel

> ---
>  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.34.1
>
Paul E. McKenney March 17, 2023, 1:15 a.m. UTC | #2
On Thu, Mar 16, 2023 at 03:09:36PM +0800, Adrian Huang wrote:
> From: Adrian Huang <ahuang12@lenovo.com>
> 
> It should be "Please note that ..." instead of "Please not that ...".
> 
> Signed-off-by: Adrian Huang <ahuang12@lenovo.com>

Good eyes, and thank you,  but Qiuxu Zhuo beat you to this one.
Please see this commit in the -rcu tree's "dev" branch:

3a554688b5c4 ("Documentation/RCU: s/not/note/ in checklist.rst")

						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.34.1
>
diff mbox series

Patch

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.