[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0995728f-7466-464e-a46a-c1ae876b2017@kernel.org>
Date: Thu, 24 Oct 2024 18:27:18 +0800
From: Chao Yu <chao@...nel.org>
To: Zeng Heng <zengheng4@...wei.com>, jaegeuk@...nel.org
Cc: Chao Yu <chao@...nel.org>, bobo.shaobowang@...wei.com,
linux-f2fs-devel@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] f2fs: Fix not used variable 'index'
On 2024/10/23 17:48, Zeng Heng wrote:
> Fix the following compilation warning:
> fs/f2fs/data.c:2391:10: warning: variable ‘index’ set but not used
> [-Wunused-but-set-variable]
> 2391 | pgoff_t index;
>
> Only define and set the variable index when the CONFIG_F2FS_FS_COMPRESSION
> is enabled.
>
> Fixes: db92e6c729d8 ("f2fs: convert f2fs_mpage_readpages() to use folio")
> Signed-off-by: Zeng Heng <zengheng4@...wei.com>
Reviewed-by: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists