Skip to content

erofs-utils: fix checkpatch.pl complains

Huang Jianan linux-erofs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 3 repliesIn review
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- remove trailing newline (Gao Xiang);
- add missing /* fallthrough */ (Gao Xiang);

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6erofs-utils: clean up file headers & footersAUTHORS ChangeLog Makefile.am +45 more+0 -1131 reply
2/6erofs-utils: fix SPDX comment stylefuse/macosx.h include/erofs/block_list.h include/erofs/xattr.h+3 -20 replies
3/6erofs-utils: fix general style probleminclude/erofs/block_list.h lib/block_list.c lib/compress.c +4 more+12 -150 replies
4/6erofs-utils: remove unnecessary codesfuse/main.c lib/inode.c+1 -81 reply
5/6erofs-utils: fix print stylelib/inode.c lib/io.c lib/zmap.c+3 -60 replies
6/6erofs-utils: add missing /* fallthrough */lib/zmap.c+3 -01 reply

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchGao Xiang
1/6R-b
2/6
3/6
4/6R-b
5/6
6/6R-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 V2 0/6] erofs-utils: fix checkpatch.pl complains

From: Huang Jianan <[email protected]>

This patchset fix most of checkpatch.pl complains in erofs-utils, some problems that also exist in the kernel haven't been fixed.

Changes since v1:
- remove trailing newline (Gao Xiang);
- add missing /* fallthrough */ (Gao Xiang);

Huang Jianan (6):
erofs-utils: clean up file headers & footers
erofs-utils: fix SPDX comment style
erofs-utils: fix general style problem
erofs-utils: remove unnecessary codes
erofs-utils: fix print style
erofs-utils: add missing /* fallthrough */

 AUTHORS                    |  1 -
 ChangeLog                  |  1 -
 Makefile.am                |  2 --
 README                     |  1 -
 autogen.sh                 |  1 -
 configure.ac               |  1 -
 fuse/Makefile.am           |  2 --
 fuse/dir.c                 |  3 ---
 fuse/macosx.h              |  1 +
 fuse/main.c                |  8 +-------
 include/erofs/block_list.h |  8 +++-----
 include/erofs/cache.h      |  3 ---
 include/erofs/compress.h   |  3 ---
 include/erofs/config.h     |  3 ---
 include/erofs/decompress.h |  2 --
 include/erofs/defs.h       |  2 --
 include/erofs/err.h        |  3 ---
 include/erofs/exclude.h    |  3 ---
 include/erofs/hashtable.h  |  2 --
 include/erofs/inode.h      |  2 --
 include/erofs/internal.h   |  2 --
 include/erofs/io.h         |  3 ---
 include/erofs/list.h       |  2 --
 include/erofs/print.h      |  4 ----
 include/erofs/trace.h      |  3 ---
 include/erofs/xattr.h      |  4 +---
 include/erofs_fs.h         |  2 --
 lib/Makefile.am            |  2 --
 lib/block_list.c           |  7 +------
 lib/cache.c                |  3 ---
 lib/compress.c             | 12 ++++--------
 lib/compressor.c           |  5 +----
 lib/compressor.h           |  3 ---
 lib/compressor_lz4.c       |  3 ---
 lib/compressor_lz4hc.c     |  3 ---
 lib/config.c               |  3 ---
 lib/data.c                 |  3 ---
 lib/decompress.c           |  2 --
 lib/exclude.c              |  3 ---
 lib/inode.c                | 10 +---------
 lib/io.c                   |  5 +----
 lib/namei.c                |  6 ++----
 lib/super.c                |  3 ---
 lib/xattr.c                |  5 +----
 lib/zmap.c                 |  8 ++++----
 man/Makefile.am            |  1 -
 man/mkfs.erofs.1           |  1 -
 mkfs/Makefile.am           |  2 --
 mkfs/main.c                |  4 +---
 49 files changed, 22 insertions(+), 144 deletions(-)
Signature · 1 line
2.25.1