LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [allisonhenderson-xfs_work:delayed_attrs_v24_extended 27/27] fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for 'xfs_init_parent_ptr'
@ 2021-08-25  1:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-25  1:29 UTC (permalink / raw)
  To: Allison Henderson; +Cc: kbuild-all, linux-kernel

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

tree:   https://github.com/allisonhenderson/xfs_work.git delayed_attrs_v24_extended
head:   65b46be2f965591671441cfd63f02f38befbec24
commit: 65b46be2f965591671441cfd63f02f38befbec24 [27/27] xfs: Add parent pointer ioctl
config: alpha-buildonly-randconfig-r004-20210824 (attached as .config)
compiler: alpha-linux-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/65b46be2f965591671441cfd63f02f38befbec24
        git remote add allisonhenderson-xfs_work https://github.com/allisonhenderson/xfs_work.git
        git fetch --no-tags allisonhenderson-xfs_work delayed_attrs_v24_extended
        git checkout 65b46be2f965591671441cfd63f02f38befbec24
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=alpha 

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

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

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

only message in thread, other threads:[~2021-08-25  1:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25  1:29 [allisonhenderson-xfs_work:delayed_attrs_v24_extended 27/27] fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for 'xfs_init_parent_ptr' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).