Content-Type: multipart/mixed; boundary="===============4515974292315230695==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH V5 12/16] xfs: Introduce per-inode 64-bit extent counters Date: Wed, 26 Jan 2022 06:51:37 +0800 Message-ID: <202201260622.XxiP4fe5-lkp@intel.com> In-Reply-To: <20220121051857.221105-13-chandan.babu@oracle.com> List-Id: --===============4515974292315230695== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Chandan, Thank you for the patch! Yet something to improve: [auto build test ERROR on xfs-linux/for-next] [also build test ERROR on v5.17-rc1 next-20220125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Chandan-Babu-R/xfs-Extend-= per-inode-extent-counters/20220121-132128 base: https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git for-next config: arm-randconfig-c003-20220122 (https://download.01.org/0day-ci/archi= ve/20220126/202201260622.XxiP4fe5-lkp(a)intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/f12e8b5064fc3ef50c9d26f15= f4a6984db59927c git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Chandan-Babu-R/xfs-Extend-per-inod= e-extent-counters/20220121-132128 git checkout f12e8b5064fc3ef50c9d26f15f4a6984db59927c # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash fs/xfs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from : In function 'xfs_check_ondisk_structs', inlined from 'init_xfs_fs' at fs/xfs/xfs_super.c:2223:2: >> include/linux/compiler_types.h:335:45: error: call to '__compiletime_ass= ert_900' declared with attribute error: XFS: sizeof(struct xfs_dinode) is w= rong, expected 176 335 | _compiletime_assert(condition, msg, __compiletime_assert= _, __COUNTER__) | ^ include/linux/compiler_types.h:316:25: note: in definition of macro '__c= ompiletime_assert' 316 | prefix ## suffix(); = \ | ^~~~~~ include/linux/compiler_types.h:335:9: note: in expansion of macro '_comp= iletime_assert' 335 | _compiletime_assert(condition, msg, __compiletime_assert= _, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletim= e_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), = msg) | ^~~~~~~~~~~~~~~~~~ fs/xfs/xfs_ondisk.h:10:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 10 | BUILD_BUG_ON_MSG(sizeof(structname) !=3D (size), "XFS: s= izeof(" \ | ^~~~~~~~~~~~~~~~ fs/xfs/xfs_ondisk.h:37:9: note: in expansion of macro 'XFS_CHECK_STRUCT_= SIZE' 37 | XFS_CHECK_STRUCT_SIZE(struct xfs_dinode, = 176); | ^~~~~~~~~~~~~~~~~~~~~ vim +/__compiletime_assert_900 +335 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 321 = eb5c2d4b45e3d2 Will Deacon 2020-07-21 322 #define _compiletime_assert(con= dition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 323 __compiletime_assert(condition= , msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 324 = eb5c2d4b45e3d2 Will Deacon 2020-07-21 325 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 326 * compiletime_assert - break b= uild and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 327 * @condition: a compile-time c= onstant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 328 * @msg: a message to emi= t if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 329 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 330 * In tradition of POSIX assert= , this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 331 * supplied condition is *false= *, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 332 * compiler has support to do s= o. eb5c2d4b45e3d2 Will Deacon 2020-07-21 333 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 334 #define compiletime_assert(cond= ition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @335 _compiletime_assert(condition,= msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 336 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============4515974292315230695==--