Messages in this thread | | | Date | Wed, 8 Feb 2023 21:10:28 +0100 | From | David Sterba <> | Subject | Re: [PATCH] Btrfs: fix compile error about uninitialized variable |
| |
On Wed, Feb 01, 2023 at 10:22:19AM +0800, ye.xingchen@zte.com.cn wrote: > From: Minghao Chi <chi.minghao@zte.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.
| |