Re: [PATCH] btrfs: scrub: fix a compilation warning

From: David Sterba
Date: Mon May 13 2024 - 15:06:00 EST


On Tue, May 07, 2024 at 10:34:17AM +0800, Lu Yao wrote:
> The following error message is displayed:
> ../fs/btrfs/scrub.c:2152:9: error: ‘ret’ may be used uninitialized
> in this function [-Werror=maybe-uninitialized]"
>
> Signed-off-by: Lu Yao <yaolu@xxxxxxxxxx>
> ---
> gcc version: (Debian 10.2.1-6) 10.2.1 20210110

The compiler version should be in the changelog as we want to know which
version produces the warning, but otherwise ok. Patch added to for-next,
thanks.