[PATCH V2 0/6] erofs-utils: fix checkpatch.pl complains

Huang Jianan jnhuang95 at gmail.com
Fri Sep 3 23:40:29 AEST 2021


From: Huang Jianan <huangjianan at oppo.com>

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(-)

-- 
2.25.1



More information about the Linux-erofs mailing list