linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ethon Paul <ethp@qq.com>
To: akpm@linux-foundation.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org
Cc: Ethon Paul <ethp@qq.com>
Subject: [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary"
Date: Sat, 11 Apr 2020 14:51:41 +0800	[thread overview]
Message-ID: <20200411065141.15936-1-ethp@qq.com> (raw)

There is a typo in comment, fix it.

Signed-off-by: Ethon Paul <ethp@qq.com>
---
 mm/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index 23a051a7ef0f..de6d01a519e4 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -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)
-- 
2.24.1 (Apple Git-126)



             reply	other threads:[~2020-04-11  6:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-11  6:51 Ethon Paul [this message]
2020-04-11 19:32 ` [PATCH] mm/filemap: Fix a typo in comment "unneccssary"->"unnecessary" Matthew Wilcox
2020-04-15 18:36 ` Ralph Campbell
2020-04-15 18:37   ` Matthew Wilcox
2020-04-15 19:02     ` Ralph Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200411065141.15936-1-ethp@qq.com \
    --to=ethp@qq.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).