[PATCHv2 8/8] zram: correct typos
From: Sergey Senozhatsky
Date: Tue Oct 04 2022 - 22:41:28 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 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