Skip to contentSkip to conversation

mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"

PATCH Applied Ethon Paul 3 participants 5 messages Apr 11, 2020 – Apr 15, 2020

Subsystems (2)
lore
Share & tools
lore

Ethon Paul

author
#0 lore raw

PATCH 1/1 mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"

There is a typo in comment, fix it.

---
 mm/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/filemap.c +1 -1
index 23a051a7ef0f..de6d01a519e4 100644
@@ -1259,7 +1259,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
  * instead.
  *
  * The read of PG_waiters has to be after (or concurrently with) PG_locked
- * being cleared, but a memory barrier should be unneccssary since it is
+ * being cleared, but a memory barrier should be unnecessary since it is
  * in the same byte as PG_locked.
  */
 static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)
Signature · 1 line
2.24.1 (Apple Git-126)
maintainer
#1 lore raw

mm/filemap.c EXPORT_SYMBOL_GPL(add_page_wait_queue); · line 1265

Quoted 9 lines · Ethon Paul
mm/filemap.c +1 -1
@@ -1259,7 +1259,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
  * instead.
  *
  * The read of PG_waiters has to be after (or concurrently with) PG_locked
- * being cleared, but a memory barrier should be unneccssary since it is
+ * being cleared, but a memory barrier should be unnecessary since it is
  * in the same byte as PG_locked.
  */
 static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)

This will conflict with the patch series I sent here:
<[email protected]>

which deletes the entire comment.

Reviewed-by on v1 1/1
#2 lore raw
In reply to Ethon Paul
Quoted 3 lines · Ethon Paul

There is a typo in comment, fix it.

Quoted 18 lines
---
  mm/filemap.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
mm/filemap.c +1 -1
index 23a051a7ef0f..de6d01a519e4 100644
@@ -1259,7 +1259,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
   * instead.
   *
   * The read of PG_waiters has to be after (or concurrently with) PG_locked
- * being cleared, but a memory barrier should be unneccssary since it is
+ * being cleared, but a memory barrier should be unnecessary since it is
   * in the same byte as PG_locked.
   */
  static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)