Hi Jaegeuk, This patch series should make f2fs-tools easier to maintain and fixes a few smaller bugs. Although these patches have been compile-tested only, please consider these patches for the upstream f2fs-tools repository.
Thanks, Bart. Bart Van Assche (31): configure.ac: Stop using obsolete macros configure.ac: Remove two prototype tests configure.ac: Enable the automake -Wall option configure.ac: Sort header file names alphabetically configure.ac: Enable cross-compilation Switch from the u_int to the uint types Change the ANDROID_WINDOWS_HOST macro into _WIN32 ci: Build f2fstools upon push and pull requests Change one array member into a flexible array member Verify structure sizes at compile time Suppress a compiler warning f2fs_fs.h: Use standard fixed width integer types Remove unnecessary __attribute__((packed)) annotations Move the be32_to_cpu() definition Include <stddef.h> instead of defining offsetof() Use %zu to format size_t Fix the MinGW build configure.ac: Detect the sparse/sparse.h header configure.ac: Detect selinux/android.h mkfs/f2fs_format.c: Suppress a compiler warning fsck: Remove a superfluous include directive tools/f2fscrypt.c: Fix build without uuid/uuid.h header file fsck/main.c: Suppress a compiler warning Change #ifdef _WIN32 checks into #ifdef HAVE_.* fsck/segment.c: Remove dead code tools/f2fs_io: Fix the type of 'ret' Annotate switch/case fallthrough Suppress a compiler warning about integer truncation Support cross-compiliation for PowerPC Fix PowerPC format string warnings ci: Enable -Wall, -Wextra and -Werror .github/workflows/ci.yml | 70 ++++++++++ README | 1 - configure.ac | 131 +++++++++++-------- fsck/Makefile.am | 2 +- fsck/dir.c | 8 ++ fsck/f2fs.h | 14 +- fsck/fsck.c | 5 +- fsck/main.c | 21 ++- fsck/mount.c | 54 ++++---- fsck/quotaio.c | 4 +- fsck/quotaio.h | 3 - fsck/quotaio_tree.h | 4 +- fsck/quotaio_v2.h | 12 +- fsck/resize.c | 28 ++-- fsck/segment.c | 3 +- fsck/sload.c | 15 ++- fsck/xattr.h | 4 +- include/f2fs_fs.h | 276 +++++++++++++++++++++++---------------- include/quota.h | 30 +++-- lib/libf2fs.c | 34 ++--- lib/libf2fs_io.c | 24 ++-- lib/libf2fs_zoned.c | 18 +-- mkfs/f2fs_format.c | 95 ++++++++------ mkfs/f2fs_format_main.c | 12 +- mkfs/f2fs_format_utils.c | 9 +- mkfs/f2fs_format_utils.h | 2 +- tools/Makefile.am | 5 +- tools/f2fs_io/f2fs_io.c | 26 +++- tools/f2fs_io/f2fs_io.h | 8 +- tools/f2fscrypt.c | 19 ++- tools/fibmap.c | 2 + 31 files changed, 586 insertions(+), 353 deletions(-) create mode 100644 .github/workflows/ci.yml _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel