On 20.01.21 г. 17:55 ч., Josef Bacik wrote: > On 1/20/21 5:25 AM, Nikolay Borisov wrote: >> Now that the btrfs' codebase is clean of W=1 warning let's enable those >> checks unconditionally for the entire fs/btrfs/ and its subdirectories. >> >> Signed-off-by: Nikolay Borisov <nbori...@suse.com> > > Once this is enabled I get > > fs/btrfs/zoned.c: In function ‘btrfs_sb_log_location_bdev’: > fs/btrfs/zoned.c:491:6: warning: variable ‘zone_size’ set but not used > [-Wunused-but-set-variable] > 491 | u64 zone_size; > | ^~~~~~~~~ > > on misc-next. Thanks, > I know, I intentionally haven't fixed it since: a) David might be intending to merge other patches which will utilize this member b) It shows a genuine problem that this patchset has uncovered ( I even mentioned this in the initial cover letter) > Josef >
- [PATCH v2 02/14] btrfs: Fix parameter description of btrfs... Nikolay Borisov
- [PATCH v2 08/14] btrfs: Fix description format of fs_info ... Nikolay Borisov
- [PATCH v2 03/14] btrfs: Fix function description format Nikolay Borisov
- [PATCH v2 06/14] btrfs: Document now parameter of peek_dis... Nikolay Borisov
- [PATCH v2 05/14] btrfs: Improve parameter description for ... Nikolay Borisov
- [PATCH v2 07/14] btrfs: Document fs_info in btrfs_rmap_blo... Nikolay Borisov
- [PATCH v2 09/14] btrfs: Document btrfs_check_shared parame... Nikolay Borisov
- [PATCH v2 14/14] btrfs: Enable W=1 checks for btrfs Nikolay Borisov
- Re: [PATCH v2 14/14] btrfs: Enable W=1 checks for btr... Josef Bacik
- Re: [PATCH v2 14/14] btrfs: Enable W=1 checks for... Nikolay Borisov
- Re: [PATCH v2 14/14] btrfs: Enable W=1 checks... David Sterba
- [PATCH v2 11/14] btrfs: Fix parameter description in space... Nikolay Borisov
- [PATCH v2 01/14] btrfs: Document modified paramater of add... Nikolay Borisov
- [PATCH v2 13/14] lib/zstd: Convert constants to defines Nikolay Borisov
- [PATCH v2 12/14] btrfs: Fix parameter description for func... Nikolay Borisov
- [PATCH v2 10/14] btrfs: Fix parameter description of btrfs... Nikolay Borisov