Skip to content

fstests: enable sparse checking & fix fallout

Eric Sandeen fstests 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 7 repliesIn review
  2. v17 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7fstests: enable sparse checking with make C=[12]Makefile include/buildrules+33 -00 replies
2/7treewide: check for #ifdef __linux__ not linuxinclude/tlibio.h include/write_log.h lib/str_to_bytes.c +4 more+19 -194 replies
3/7lib: Fix non-ANSI function declarationslib/dataascii.c lib/databin.c lib/datapid.c +7 more+119 -1970 replies
4/7lib: fix empty arg function prototypesinclude/random_range.h include/write_log.h lib/random_range.c +3 more+6 -90 replies
5/7lib: replace aiocb_t with struct aiocblib/tlibio.c+5 -30 replies
6/7lib: make a few symbols staticlib/tlibio.c+3 -10 replies
7/7lib: remove random.clib/Makefile lib/random.c+2 -2275 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchDarrick J. WongChristoph Hellwig
1/7R-b R-b
2/7R-b R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b R-b

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

Read the v2 thread

Cover letter [PATCH 0/7 V2] fstests: enable sparse checking & fix fallout

This does so, in the same manner as the kernel and xfsprogs,i.e. make C=1 or make C=2.

The rest of the patches fix most of the warnings that showed up for me after that.

V2: Rather than -Dlinux in builddefs, switch all #ifdef linux to #ifdef __linux__ which hch says is preferred now (Patch 2)

Otherwise unchanged, with RVB: added to patches 1,3-7

Thanks,
-Eric