Re: [PATCH] kernel: locking: Mundane typo fix in the file rwsem.c

From: Waiman Long
Date: Wed Mar 17 2021 - 19:32:39 EST


On 3/17/21 12:18 AM, Bhaskar Chowdhury wrote:
s/folowing/following/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@xxxxxxxxx>
---
kernel/locking/rwsem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c
index abba5df50006..fe9cc65cd522 100644
--- a/kernel/locking/rwsem.c
+++ b/kernel/locking/rwsem.c
@@ -632,7 +632,7 @@ static inline bool rwsem_can_spin_on_owner(struct rw_semaphore *sem)
}

/*
- * The rwsem_spin_on_owner() function returns the folowing 4 values
+ * The rwsem_spin_on_owner() function returns the following 4 values
* depending on the lock owner state.
* OWNER_NULL : owner is currently NULL
* OWNER_WRITER: when owner changes and is a writer
--
2.30.2

Acked-by: Waiman Long <longman@xxxxxxxxxx>