All of lore.kernel.org
 help / color / mirror / Atom feed
* [allisonhenderson-xfs-work:refs/heads/pptrs_restart130 30/32] fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for function 'xfs_init_parent_ptr'
@ 2021-11-04  9:41 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-04  9:41 UTC (permalink / raw)
  To: Allison Henderson; +Cc: llvm, kbuild-all, linux-kernel

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

tree:   https://github.com/allisonhenderson/xfs_work.git refs/heads/pptrs_restart130
head:   81b586ed999042613d6e120407086764e8ebf095
commit: 8ce1153c5c1fb72fe7b7a05d9e6ed4aa306d1c72 [30/32] xfs: Add parent pointer ioctl
config: i386-randconfig-a003-20211103 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 847a6807332b13f43704327c2d30103ec0347c77)
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=clang make.cross W=1 ARCH=i386 

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 function 'xfs_init_parent_ptr' [-Wmissing-prototypes]
   xfs_init_parent_ptr(struct xfs_parent_ptr               *xpp,
   ^
   fs/xfs/libxfs/xfs_parent.c:37:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void
   ^
   static 
   fs/xfs/libxfs/xfs_parent.c:65:1: warning: no previous prototype for function 'xfs_init_parent_name_rec' [-Wmissing-prototypes]
   xfs_init_parent_name_rec(
   ^
   fs/xfs/libxfs/xfs_parent.c:64:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void
   ^
   static 
   fs/xfs/libxfs/xfs_parent.c:80:1: warning: no previous prototype for function 'xfs_init_parent_name_irec' [-Wmissing-prototypes]
   xfs_init_parent_name_irec(
   ^
   fs/xfs/libxfs/xfs_parent.c:79:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void
   ^
   static 
   3 warnings generated.
--
>> fs/xfs/xfs_parent_utils.c:42:1: warning: no previous prototype for function 'xfs_attr_get_parent_pointer' [-Wmissing-prototypes]
   xfs_attr_get_parent_pointer(struct xfs_inode            *ip,
   ^
   fs/xfs/xfs_parent_utils.c:41:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int
   ^
   static 
   1 warning generated.


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: 33770 bytes --]

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

* [allisonhenderson-xfs-work:refs/heads/pptrs_restart130 30/32] fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for function 'xfs_init_parent_ptr'
@ 2021-11-04  9:41 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-04  9:41 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/allisonhenderson/xfs_work.git refs/heads/pptrs_restart130
head:   81b586ed999042613d6e120407086764e8ebf095
commit: 8ce1153c5c1fb72fe7b7a05d9e6ed4aa306d1c72 [30/32] xfs: Add parent pointer ioctl
config: i386-randconfig-a003-20211103 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 847a6807332b13f43704327c2d30103ec0347c77)
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=clang make.cross W=1 ARCH=i386 

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 function 'xfs_init_parent_ptr' [-Wmissing-prototypes]
   xfs_init_parent_ptr(struct xfs_parent_ptr               *xpp,
   ^
   fs/xfs/libxfs/xfs_parent.c:37:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void
   ^
   static 
   fs/xfs/libxfs/xfs_parent.c:65:1: warning: no previous prototype for function 'xfs_init_parent_name_rec' [-Wmissing-prototypes]
   xfs_init_parent_name_rec(
   ^
   fs/xfs/libxfs/xfs_parent.c:64:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void
   ^
   static 
   fs/xfs/libxfs/xfs_parent.c:80:1: warning: no previous prototype for function 'xfs_init_parent_name_irec' [-Wmissing-prototypes]
   xfs_init_parent_name_irec(
   ^
   fs/xfs/libxfs/xfs_parent.c:79:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void
   ^
   static 
   3 warnings generated.
--
>> fs/xfs/xfs_parent_utils.c:42:1: warning: no previous prototype for function 'xfs_attr_get_parent_pointer' [-Wmissing-prototypes]
   xfs_attr_get_parent_pointer(struct xfs_inode            *ip,
   ^
   fs/xfs/xfs_parent_utils.c:41:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int
   ^
   static 
   1 warning generated.


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(a)lists.01.org

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

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

end of thread, other threads:[~2021-11-04  9:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04  9:41 [allisonhenderson-xfs-work:refs/heads/pptrs_restart130 30/32] fs/xfs/libxfs/xfs_parent.c:38:1: warning: no previous prototype for function 'xfs_init_parent_ptr' kernel test robot
2021-11-04  9:41 ` 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.