Fix some -Wmaybe-uninitialized errors
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: make sure to initialize start and len in find_free_dev_extentfs/ | +6 | 3 replies | |
| 2/2 | btrfs: initialize start_slot in btrfs_log_prealloc_extentsfs/ | +1 | 3 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Jens Axboe | Qu Wenruo |
|---|---|---|
| 1/2 | T-b | R-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Fix some -Wmaybe-uninitialized errors
Hello,
Jens reported to me two warnings he was seeing with CONFIG_CC_OPTIMIZE_FOR_SIZE=y set in his .config. We don't see these errors without this option, and they're not correct warnings. However we've had issues where -Wmaybe-uninitialized would have caught a real bug, so this warning is generally valuable. Fix these warnings so we have a clean build. Thanks,
Josef
Josef Bacik (2):
btrfs: make sure to initialize start and len in find_free_dev_extent
btrfs: initialize start_slot in btrfs_log_prealloc_extents
fs/btrfs/tree-log.c | 2 +- fs/btrfs/volumes.c | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-)
Signature · 1 line
2.41.0