[PATCHv3 8/8] zram: correct typos

From: Sergey Senozhatsky
Date: Sun Oct 09 2022 - 05:08:19 EST


Trivial comment typos fixes.

Signed-off-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
---
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 34bb21691cee..ecbc5963b5b8 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;
@@ -1658,7 +1658,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