From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [djwong-xfs:xfile-page-caching 183/266] fs/xfs/scrub/rmap_repair.c:401:1: warning: unused function 'is_rt_data_fork'
Date: Thu, 19 Jan 2023 09:06:17 +0800 [thread overview]
Message-ID: <202301190857.mZOaqPRE-lkp@intel.com> (raw)
::::::
:::::: 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
reply other threads:[~2023-01-19 1:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202301190857.mZOaqPRE-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.