[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230208201028.GK28288@twin.jikos.cz>
Date: Wed, 8 Feb 2023 21:10:28 +0100
From: David Sterba <dsterba@...e.cz>
To: ye.xingchen@....com.cn
Cc: clm@...com, josef@...icpanda.com, dsterba@...e.com,
linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Btrfs: fix compile error about uninitialized variable
On Wed, Feb 01, 2023 at 10:22:19AM +0800, ye.xingchen@....com.cn wrote:
> From: Minghao Chi <chi.minghao@....com.cn>
>
> fs/btrfs/tree-log.c:6166:6: note: 'last_range_start' was declared here
> fs/btrfs/volumes.c:2598:27: note: 'seed_devices' was declared here
> fs/btrfs/send.c:1909:13: error: 'right_gen' may be used uninitialized in this function [-Werror=maybe-uninitialized]
We have the warning -Wmaybe-uninitialized enabled locally for fs/btrfs/
and no pending compiler warnings but in case you find something please
tell us which compiler and version it is. Sometimes it makes sense to
fix warnings for older yet still widely used versions.
Powered by blists - more mailing lists