[PATCH] zram: Fix a spelling mistake

Chu Guangqing posted 1 patch 6 days, 21 hours ago
drivers/block/zram/zram_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] zram: Fix a spelling mistake
Posted by Chu Guangqing 6 days, 21 hours ago
The spelling of the word "relases" is incorrect; it should be "releases".

Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
---
 drivers/block/zram/zram_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
index 1a1159a70fb4..5759823d6314 100644
--- a/drivers/block/zram/zram_drv.c
+++ b/drivers/block/zram/zram_drv.c
@@ -1043,7 +1043,7 @@ static int zram_writeback_slots(struct zram *zram,
 		index = pps->index;
 		zram_slot_lock(zram, index);
 		/*
-		 * scan_slots() sets ZRAM_PP_SLOT and relases slot lock, so
+		 * scan_slots() sets ZRAM_PP_SLOT and releases slot lock, so
 		 * slots can change in the meantime. If slots are accessed or
 		 * freed they lose ZRAM_PP_SLOT flag and hence we don't
 		 * post-process them.
-- 
2.43.7
Re: [PATCH] zram: Fix a spelling mistake
Posted by Sergey Senozhatsky 6 days, 11 hours ago
Cc-ing Andrew [message id: 20251125020522.1913-1-chuguangqing@inspur.com]

On (25/11/25 10:05), Chu Guangqing wrote:
> The spelling of the word "relases" is incorrect; it should be "releases".
> 
> Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>

Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>

> ---
>  drivers/block/zram/zram_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c
> index 1a1159a70fb4..5759823d6314 100644
> --- a/drivers/block/zram/zram_drv.c
> +++ b/drivers/block/zram/zram_drv.c
> @@ -1043,7 +1043,7 @@ static int zram_writeback_slots(struct zram *zram,
>  		index = pps->index;
>  		zram_slot_lock(zram, index);
>  		/*
> -		 * scan_slots() sets ZRAM_PP_SLOT and relases slot lock, so
> +		 * scan_slots() sets ZRAM_PP_SLOT and releases slot lock, so
>  		 * slots can change in the meantime. If slots are accessed or
>  		 * freed they lose ZRAM_PP_SLOT flag and hence we don't
>  		 * post-process them.
> -- 
> 2.43.7
>