Skip to content

Misc warning fixes

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: remove const from btrfs_feature_set_namefs/btrfs/sysfs.c fs/btrfs/sysfs.h+2 -20 replies
2/5btrfs: compression: move declarations to headerfs/btrfs/compression.c fs/btrfs/compression.h+35 -350 replies
3/5btrfs: remove unnecessarily shadowed variablesfs/btrfs/backref.c fs/btrfs/inode.c+0 -20 replies
4/5btrfs: scrub: rename ratelimit state varaible to avoid shadowingfs/btrfs/scrub.c+4 -40 replies
5/5btrfs: send: remove indirect callback parameter for changed_cbfs/btrfs/send.c+2 -90 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJosef Bacik
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Misc warning fixes

Compiling with W=1 or W=2 gives warnings that seem to be worth fixing.

David Sterba (5):
btrfs: remove const from btrfs_feature_set_name
btrfs: compression: move declarations to header
btrfs: remove unnecessarily shadowed variables
btrfs: scrub: rename ratelimit state varaible to avoid shadowing
btrfs: send: remove indirect callback parameter for changed_cb

 fs/btrfs/backref.c     |  1 -
 fs/btrfs/compression.c | 35 -----------------------------------
 fs/btrfs/compression.h | 35 +++++++++++++++++++++++++++++++++++
 fs/btrfs/inode.c       |  1 -
 fs/btrfs/scrub.c       |  8 ++++----
 fs/btrfs/send.c        | 11 ++---------
 fs/btrfs/sysfs.c       |  2 +-
 fs/btrfs/sysfs.h       |  2 +-
 8 files changed, 43 insertions(+), 52 deletions(-)
Signature · 1 line
2.25.0