# git rev-parse -q --verify 0e5ab8dd87c29640a46aee9e38bc3ba7645b1db0^{commit} 0e5ab8dd87c29640a46aee9e38bc3ba7645b1db0 already have revision, skipping fetch # git checkout -q -f -B kisskb 0e5ab8dd87c29640a46aee9e38bc3ba7645b1db0 # git clean -qxdf # < git log -1 # commit 0e5ab8dd87c29640a46aee9e38bc3ba7645b1db0 # Merge: 54eb8462f21f 7146bda743e6 # Author: Linus Torvalds # Date: Wed Jun 1 17:23:53 2022 -0700 # # Merge tag 'xfs-5.19-for-linus-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux # # Pull more xfs updates from Dave Chinner: # "This update is largely bug fixes and cleanups for all the code merged # in the first pull request. The majority of them are to the new logged # attribute code, but there are also a couple of fixes for other log # recovery and memory leaks that have recently been found. # # Summary: # # - fix refcount leak in xfs_ifree() # # - fix xfs_buf_cancel structure leaks in log recovery # # - fix dquot leak after failed quota check # # - fix a couple of problematic ASSERTS # # - fix small aim7 perf regression in from new btree sibling validation # # - clean up log incompat feature marking for new logged attribute # feature # # - disallow logged attributes on legacy V4 filesystem formats. # # - fix da state leak when freeing attr intents # # - improve validation of the attr log items in recovery # # - use slab caches for commonly used attr structures # # - fix leaks of attr name/value buffer and reduce copying overhead # during intent logging # # - remove some dead debug code from log recovery" # # * tag 'xfs-5.19-for-linus-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (33 commits) # xfs: fix xfs_ifree() error handling to not leak perag ref # xfs: move xfs_attr_use_log_assist usage out of libxfs # xfs: move xfs_attr_use_log_assist out of xfs_log.c # xfs: warn about LARP once per mount # xfs: implement per-mount warnings for scrub and shrink usage # xfs: don't log every time we clear the log incompat flags # xfs: convert buf_cancel_table allocation to kmalloc_array # xfs: don't leak xfs_buf_cancel structures when recovery fails # xfs: refactor buffer cancellation table allocation # xfs: don't leak btree cursor when insrec fails after a split # xfs: purge dquots after inode walk fails during quotacheck # xfs: assert in xfs_btree_del_cursor should take into account error # xfs: don't assert fail on perag references on teardown # xfs: avoid unnecessary runtime sibling pointer endian conversions # xfs: share xattr name and value buffers when logging xattr updates # xfs: do not use logged xattr updates on V4 filesystems # xfs: Remove duplicate include # xfs: reduce IOCB_NOWAIT judgment for retry exclusive unaligned DIO # xfs: Remove dead code # xfs: fix typo in comment # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 0e5ab8dd87c29640a46aee9e38bc3ba7645b1db0 # < make -s -j 40 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig CONFIG_TRIM_UNUSED_KSYMS=n # Added to kconfig CONFIG_UBSAN=n # < make -s -j 40 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4727:warning: override: reassigning to symbol MODULE_SIG .config:4728:warning: override: reassigning to symbol CPU_BIG_ENDIAN .config:4728:warning: override: CPU_BIG_ENDIAN changes choice state .config:4730:warning: override: reassigning to symbol PPC_DISABLE_WERROR .config:4732:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4737:warning: override: reassigning to symbol UBSAN # make -s -j 40 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/afs/dir.c: In function 'afs_dir_dirty_folio': /kisskb/src/fs/afs/dir.c:52:1: error: no return statement in function returning non-void [-Werror=return-type] 52 | } | ^ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:271: fs/afs/dir.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:500: fs/afs] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1839: fs] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/drivers/infiniband/core/user_mad.c: In function 'ib_umad_write': /kisskb/src/drivers/infiniband/core/user_mad.c:564:50: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 564 | hdr_len = ib_get_mad_data_offset(rmpp_mad->mad_hdr.mgmt_class); | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:566:42: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 566 | if (ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:618:25: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 618 | rmpp_mad->mad_hdr.tid = *tid; | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/core/user_mad.c:622:44: error: array subscript 'struct ib_rmpp_mad[0]' is partly outside array bounds of 'unsigned char[140]' [-Werror=array-bounds] 622 | && ib_is_mad_class_rmpp(rmpp_mad->mad_hdr.mgmt_class) | ^~ /kisskb/src/drivers/infiniband/core/user_mad.c:509:18: note: referencing an object of size 140 allocated by 'kzalloc.constprop' 509 | packet = kzalloc(sizeof *packet + IB_MGMT_RMPP_HDR, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:271: drivers/infiniband/core/user_mad.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband/core] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:500: drivers/infiniband] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1839: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 40 ARCH=powerpc O=/kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_powerpc-randconfig_powerpc-gcc11 # Build took: 0:02:10.200053