All of lore.kernel.org
 help / color / mirror / Atom feed
* [djwong-xfs:xfile-page-caching 183/266] fs/xfs/scrub/rmap_repair.c:401:1: warning: unused function 'is_rt_data_fork'
@ 2023-01-19  1:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-19  1:06 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "gcc: unused function warning for stub function"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: "Darrick J. Wong" <darrick.wong@oracle.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git xfile-page-caching
head:   5ac6d5f53f18d0486ac3713be490eb8c186ff344
commit: ae88821b64c221d8f790cf93e60e28217fc4a03b [183/266] xfs: repair the rmapbt
:::::: branch date: 24 hours ago
:::::: commit date: 24 hours ago
config: x86_64-randconfig-a003 (https://download.01.org/0day-ci/archive/20230119/202301190857.mZOaqPRE-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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=ae88821b64c221d8f790cf93e60e28217fc4a03b
        git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
        git fetch --no-tags djwong-xfs xfile-page-caching
        git checkout ae88821b64c221d8f790cf93e60e28217fc4a03b
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/xfs/

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

All warnings (new ones prefixed by >>):

>> fs/xfs/scrub/rmap_repair.c:401:1: warning: unused function 'is_rt_data_fork' [-Wunused-function]
   is_rt_data_fork(
   ^
   1 warning generated.


vim +/is_rt_data_fork +401 fs/xfs/scrub/rmap_repair.c

ae88821b64c221 Darrick J. Wong 2022-07-14  399  
ae88821b64c221 Darrick J. Wong 2022-07-14  400  static inline bool
ae88821b64c221 Darrick J. Wong 2022-07-14 @401  is_rt_data_fork(
ae88821b64c221 Darrick J. Wong 2022-07-14  402  	struct xfs_inode	*ip,
ae88821b64c221 Darrick J. Wong 2022-07-14  403  	int			whichfork)
ae88821b64c221 Darrick J. Wong 2022-07-14  404  {
ae88821b64c221 Darrick J. Wong 2022-07-14  405  	return XFS_IS_REALTIME_INODE(ip) && whichfork == XFS_DATA_FORK;
ae88821b64c221 Darrick J. Wong 2022-07-14  406  }
ae88821b64c221 Darrick J. Wong 2022-07-14  407  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-19  1:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19  1:06 [djwong-xfs:xfile-page-caching 183/266] fs/xfs/scrub/rmap_repair.c:401:1: warning: unused function 'is_rt_data_fork' 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.