All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:zero-initialize-pmem 4/309] fs/xfs/scrub/fscounters.c:273:1: error: unused function 'xchk_fscount_add_frextent'
@ 2021-09-18  6:36 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-18  6:36 UTC (permalink / raw)
  To: Darrick J. Wong; +Cc: llvm, kbuild-all, Darrick J. Wong, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1912 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git zero-initialize-pmem
head:   f712bfd382f71deb666686b6d969dc10592e7d79
commit: b40599a9e7135ccf6ace9944f60ddd3738549056 [4/309] xfs: online checking of the free rt extent count
config: x86_64-buildonly-randconfig-r004-20210918 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=b40599a9e7135ccf6ace9944f60ddd3738549056
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs zero-initialize-pmem
        git checkout b40599a9e7135ccf6ace9944f60ddd3738549056
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/xfs/scrub/fscounters.c:273:1: error: unused function 'xchk_fscount_add_frextent' [-Werror,-Wunused-function]
   xchk_fscount_add_frextent(
   ^
   1 error generated.


vim +/xchk_fscount_add_frextent +273 fs/xfs/scrub/fscounters.c

   271	
   272	static inline int
 > 273	xchk_fscount_add_frextent(
   274		struct xfs_trans		*tp,
   275		const struct xfs_rtalloc_rec	*rec,
   276		void				*priv)
   277	{
   278		struct xchk_fscounters		*fsc = priv;
   279	
   280		fsc->frextents += rec->ar_extcount;
   281		return 0;
   282	}
   283	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 44213 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [djwong-xfs:zero-initialize-pmem 4/309] fs/xfs/scrub/fscounters.c:273:1: error: unused function 'xchk_fscount_add_frextent'
@ 2021-09-18  6:36 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-18  6:36 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1959 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git zero-initialize-pmem
head:   f712bfd382f71deb666686b6d969dc10592e7d79
commit: b40599a9e7135ccf6ace9944f60ddd3738549056 [4/309] xfs: online checking of the free rt extent count
config: x86_64-buildonly-randconfig-r004-20210918 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c8b3d7d6d6de37af68b2f379d0e37304f78e115f)
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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=b40599a9e7135ccf6ace9944f60ddd3738549056
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs zero-initialize-pmem
        git checkout b40599a9e7135ccf6ace9944f60ddd3738549056
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/xfs/scrub/fscounters.c:273:1: error: unused function 'xchk_fscount_add_frextent' [-Werror,-Wunused-function]
   xchk_fscount_add_frextent(
   ^
   1 error generated.


vim +/xchk_fscount_add_frextent +273 fs/xfs/scrub/fscounters.c

   271	
   272	static inline int
 > 273	xchk_fscount_add_frextent(
   274		struct xfs_trans		*tp,
   275		const struct xfs_rtalloc_rec	*rec,
   276		void				*priv)
   277	{
   278		struct xchk_fscounters		*fsc = priv;
   279	
   280		fsc->frextents += rec->ar_extcount;
   281		return 0;
   282	}
   283	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 44213 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-18  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-18  6:36 [djwong-xfs:zero-initialize-pmem 4/309] fs/xfs/scrub/fscounters.c:273:1: error: unused function 'xchk_fscount_add_frextent' kernel test robot
2021-09-18  6:36 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.