Skip to content

xfs: fix sparse warnings

Hannes Eder kernel-janitors linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs: move declaration to header filefs/xfs/xfs_da_btree.h fs/xfs/xfs_dir2.c+1 -21 reply
2/3xfs: make symbols staticfs/xfs/linux-2.6/xfs_super.c fs/xfs/xfs_bmap.c fs/xfs/xfs_dir2_leaf.c+5 -51 reply
3/3xfs: include header files for prototypesfs/xfs/linux-2.6/xfs_ioctl.c fs/xfs/support/debug.c+2 -03 replies

Reviews trailers per patch

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

PatchChristoph HellwigFelix Blyakher
SeriesR-b
1/3
2/3
3/3A-b

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/3] xfs: fix sparse warnings

The following series fixes a fair amount of the remaining sparse warnings in fs/xfs with !CONFIG_XFS_DEBUG.

With CONFIG_XFS_DEBUG we still got alot of "Should it be static?" warnings, but that's a different issue.

---
Hannes Eder (3):
xfs: include header files for prototypes
xfs: make symbols static
xfs: move declaration to header file

 fs/xfs/linux-2.6/xfs_ioctl.c |    1 +
 fs/xfs/linux-2.6/xfs_super.c |    6 +++---
 fs/xfs/support/debug.c       |    1 +
 fs/xfs/xfs_bmap.c            |    2 +-
 fs/xfs/xfs_da_btree.h        |    1 +
 fs/xfs/xfs_dir2.c            |    2 --
 fs/xfs/xfs_dir2_leaf.c       |    2 +-
 7 files changed, 8 insertions(+), 7 deletions(-)