diff options
| author | Josef Bacik <josef@toxicpanda.com> | 2022-12-16 15:15:57 -0500 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-02-13 17:50:33 +0100 |
| commit | 12adffe6cfb8e279e8ab49504501d894ff79822a (patch) | |
| tree | caacfa652d785f3be6279fe1e4ed5c7031f9c9ed /tools/perf/scripts/python | |
| parent | btrfs: fix uninitialized variable warnings in __set_extent_bit and convert_ex... (diff) | |
| download | linux-12adffe6cfb8e279e8ab49504501d894ff79822a.tar.gz linux-12adffe6cfb8e279e8ab49504501d894ff79822a.zip | |
btrfs: fix uninitialized variable warning in btrfs_sb_log_location
We only have 3 possible mirrors, and we have ASSERT()'s to make sure
we're not passing in an invalid super mirror into this function, so
technically this value isn't uninitialized. However
-Wmaybe-uninitialized will complain, so set it to U64_MAX so if we don't
have ASSERT()'s turned on it'll error out later on when it see's the
zone is beyond our maximum zones.
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
