linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Sergey Senozhatsky <senozhatsky@chromium.org>
To: Minchan Kim <minchan@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: Nitin Gupta <ngupta@vflare.org>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Sergey Senozhatsky <senozhatsky@chromium.org>
Subject: [PATCHv2 8/8] zram: correct typos
Date: Wed,  5 Oct 2022 11:40:14 +0900	[thread overview]
Message-ID: <20221005024014.22914-9-senozhatsky@chromium.org> (raw)
In-Reply-To: <20221005024014.22914-1-senozhatsky@chromium.org>

Trivial comment typos fixes.

Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
---
 drivers/block/zram/zram_drv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
index ce9413040ad4..9d54dbc72cb0 100644
--- a/drivers/block/zram/zram_drv.c
+++ b/drivers/block/zram/zram_drv.c
@@ -759,7 +759,7 @@ static ssize_t writeback_store(struct device *dev,
 			zram_slot_unlock(zram, index);
 			/*
 			 * Return last IO error unless every IO were
-			 * not suceeded.
+			 * not succeeded.
 			 */
 			ret = err;
 			continue;
@@ -1657,7 +1657,7 @@ static int zram_recompress(struct zram *zram, u32 index, struct page *page,
 	/*
 	 * Either a compression error or we failed to compressed the object
 	 * in a way that will save us memory. Mark the object so that we
-	 * don't attemp to re-compress it again (RECOMP_SKIP).
+	 * don't attempt to re-compress it again (RECOMP_SKIP).
 	 */
 	if (comp_len_next >= huge_class_size ||
 	    comp_len_next >= comp_len_prev ||
-- 
2.38.0.rc1.362.ged0d419d3c-goog



      parent reply	other threads:[~2022-10-05  2:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-05  2:40 [PATCHv2 0/8] zram: Support multiple compression streams Sergey Senozhatsky
2022-10-05  2:40 ` [PATCHv2 1/8] zram: Preparation for multi-zcomp support Sergey Senozhatsky
2022-10-05  2:40 ` [PATCHv2 2/8] zram: Add recompression algorithm sysfs knob Sergey Senozhatsky
2022-10-05  2:40 ` [PATCHv2 3/8] zram: Factor out WB and non-WB zram read functions Sergey Senozhatsky
2022-10-05  2:40 ` [PATCHv2 4/8] zram: Introduce recompress sysfs knob Sergey Senozhatsky
2022-10-05  2:40 ` [PATCHv2 5/8] documentation: Add recompression documentation Sergey Senozhatsky
2022-10-05  2:40 ` [PATCHv2 6/8] zram: Add recompression algorithm choice to Kconfig Sergey Senozhatsky
2022-10-05  2:40 ` [PATCHv2 7/8] zram: Add recompress flag to read_block_state() Sergey Senozhatsky
2022-10-05  2:40 ` Sergey Senozhatsky [this message]

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=20221005024014.22914-9-senozhatsky@chromium.org \
    --to=senozhatsky@chromium.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=minchan@kernel.org \
    --cc=ngupta@vflare.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