[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111041949.rwSV10Af-lkp@intel.com>
Date: Thu, 4 Nov 2021 19:37:59 +0800
From: kernel test robot <lkp@...el.com>
To: Allison Henderson <allison.henderson@...cle.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [allisonhenderson-xfs-work:refs/heads/pptrs_restart130 30/32]
fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for
'xfs_init_parent_ptr'
tree: https://github.com/allisonhenderson/xfs_work.git refs/heads/pptrs_restart130
head: 81b586ed999042613d6e120407086764e8ebf095
commit: 8ce1153c5c1fb72fe7b7a05d9e6ed4aa306d1c72 [30/32] xfs: Add parent pointer ioctl
config: arc-randconfig-r043-20211104 (attached as .config)
compiler: arc-elf-gcc (GCC) 11.2.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/allisonhenderson/xfs_work/commit/8ce1153c5c1fb72fe7b7a05d9e6ed4aa306d1c72
git remote add allisonhenderson-xfs-work https://github.com/allisonhenderson/xfs_work.git
git fetch --no-tags allisonhenderson-xfs-work refs/heads/pptrs_restart130
git checkout 8ce1153c5c1fb72fe7b7a05d9e6ed4aa306d1c72
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for 'xfs_init_parent_ptr' [-Wmissing-prototypes]
38 | xfs_init_parent_ptr(struct xfs_parent_ptr *xpp,
| ^~~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_parent.c:65:1: warning: no previous prototype for 'xfs_init_parent_name_rec' [-Wmissing-prototypes]
65 | xfs_init_parent_name_rec(
| ^~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_parent.c:80:1: warning: no previous prototype for 'xfs_init_parent_name_irec' [-Wmissing-prototypes]
80 | xfs_init_parent_name_irec(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
--
>> fs/xfs/xfs_parent_utils.c:42:1: warning: no previous prototype for 'xfs_attr_get_parent_pointer' [-Wmissing-prototypes]
42 | xfs_attr_get_parent_pointer(struct xfs_inode *ip,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/xfs_init_parent_ptr +38 fs/xfs/libxfs/xfs_parent.c
35
36 /* Initializes a xfs_parent_ptr from an xfs_parent_name_rec */
37 void
> 38 xfs_init_parent_ptr(struct xfs_parent_ptr *xpp,
39 struct xfs_parent_name_rec *rec)
40 {
41 xpp->xpp_ino = be64_to_cpu(rec->p_ino);
42 xpp->xpp_gen = be32_to_cpu(rec->p_gen);
43 xpp->xpp_diroffset = be32_to_cpu(rec->p_diroffset);
44 }
45
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (29796 bytes)
Powered by blists - more mailing lists