Re: [PATCHv3 8/8] zram: correct typos

From: Andrew Morton
Date: Mon Oct 17 2022 - 20:11:41 EST


On Sun, 9 Oct 2022 18:07:20 +0900 Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx> wrote:

> Trivial comment typos fixes.
>
> --- 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.

That's a pretty awkward sentence. Why not "unless every IO failed".

If that's indeed what we're doing here. Sounds odd. What do we return
if all IOs indeed failed?