Cleanups and W=2 warning fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | btrfs: remove duplicate name variable declarationsfs/ fs/ | +1 | 0 replies | |
| 2/6 | btrfs: rename macro local variables that clash with other variablesfs/ fs/ | +7 | 0 replies | |
| 3/6 | btrfs: use for-local variabls that shadow function variablesfs/ fs/ fs/ | +11 | 2 replies | |
| 4/6 | btrfs: remove unused define EXTENT_SIZE_PER_ITEMfs/ | +0 | 0 replies | |
| 5/6 | btrfs: keep const whene returnin value from get_unaligned_le8()fs/ | +1 | 0 replies | |
| 6/6 | btrfs: constify parameters of write_eb_member() and its usersfs/ fs/ | +6 | 0 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Boris Burkov | Anand Jain | Naohiro Aota |
|---|---|---|---|
| Series | R-b | R-b | R-b |
| 1/6 | |||
| 2/6 | |||
| 3/6 | R-b | ||
| 4/6 | |||
| 5/6 | |||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/6] Cleanups and W=2 warning fixes
We have a clean run of 'make W='1 with gcc 13, there are some interesting warnings to fix with level 2 and even 3. We can't enable the warning flags by defualt due to reports from generic code.
This short series removes shadowed variables, adds const and removes an unused macro. There are still some shadow variables to fix but the remaining cases are with 'ret' variables so I skipped it for now.
David Sterba (6):
btrfs: remove duplicate name variable declarations
btrfs: rename macro local variables that clash with other variables
btrfs: use for-local variabls that shadow function variables
btrfs: remove unused define EXTENT_SIZE_PER_ITEM
btrfs: keep const whene returnin value from get_unaligned_le8()
btrfs: constify parameters of write_eb_member() and its users
fs/btrfs/accessors.h | 12 ++++++------ fs/btrfs/extent_io.c | 6 ++---- fs/btrfs/inode.c | 2 -- fs/btrfs/qgroup.c | 11 +++++------ fs/btrfs/space-info.c | 2 -- fs/btrfs/subpage.c | 8 ++++---- fs/btrfs/transaction.h | 6 +++--- fs/btrfs/volumes.c | 9 +++------ fs/btrfs/zoned.c | 8 +++----- 9 files changed, 26 insertions(+), 38 deletions(-)
Signature · 1 line
2.45.0