Hi Xiyu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on ceph-client/for-linus] [also build test WARNING on v5.14-rc1 next-20210716] [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/Xiyu-Yang/ceph-Convert-from-atomic_t-to-refcount_t-on-ceph_snap_realm-nref/20210718-111108 base: https://github.com/ceph/ceph-client.git for-linus config: arc-randconfig-r016-20210718 (attached as .config) compiler: arceb-elf-gcc (GCC) 10.3.0 reproduce (this is a W=1 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/af8e5c68ccb6a1e5aead78e10d6d0441c032ba66 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Xiyu-Yang/ceph-Convert-from-atomic_t-to-refcount_t-on-ceph_snap_realm-nref/20210718-111108 git checkout af8e5c68ccb6a1e5aead78e10d6d0441c032ba66 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash fs/ceph/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from fs/ceph/super.h:6, from fs/ceph/quota.c:10: >> include/linux/ceph/ceph_debug.h:5: warning: "pr_fmt" redefined 5 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | In file included from include/linux/kernel.h:17, from include/asm-generic/bug.h:20, from arch/arc/include/asm/bug.h:30, from include/linux/bug.h:5, from include/linux/refcount.h:96, from fs/ceph/super.h:5, from fs/ceph/quota.c:10: include/linux/printk.h:301: note: this is the location of the previous definition 301 | #define pr_fmt(fmt) fmt | vim +/pr_fmt +5 include/linux/ceph/ceph_debug.h de57606c23afde fs/ceph/ceph_debug.h Sage Weil 2009-10-06 4 de57606c23afde fs/ceph/ceph_debug.h Sage Weil 2009-10-06 @5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt de57606c23afde fs/ceph/ceph_debug.h Sage Weil 2009-10-06 6 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip