* [djwong-xfs:getfsmap-cleanups-5.10 105/105] fs/xfs/xfs_fsmap.c:30:1: error: no previous prototype for 'xfs_fsmap_from_internal'
@ 2020-10-02 10:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-02 10:26 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3167 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git getfsmap-cleanups-5.10
head: 9247e7816067141457e5eb9b84c3070a7905d111
commit: 9247e7816067141457e5eb9b84c3070a7905d111 [105/105] xfs: streamline xfs_getfsmap performance
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=9247e7816067141457e5eb9b84c3070a7905d111
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs getfsmap-cleanups-5.10
git checkout 9247e7816067141457e5eb9b84c3070a7905d111
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> fs/xfs/xfs_fsmap.c:30:1: error: no previous prototype for 'xfs_fsmap_from_internal' [-Werror=missing-prototypes]
30 | xfs_fsmap_from_internal(
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/xfs_fsmap_from_internal +30 fs/xfs/xfs_fsmap.c
e89c041338ed6ef Darrick J. Wong 2017-03-28 27
e89c041338ed6ef Darrick J. Wong 2017-03-28 28 /* Convert an xfs_fsmap to an fsmap. */
e89c041338ed6ef Darrick J. Wong 2017-03-28 29 void
e89c041338ed6ef Darrick J. Wong 2017-03-28 @30 xfs_fsmap_from_internal(
e89c041338ed6ef Darrick J. Wong 2017-03-28 31 struct fsmap *dest,
e89c041338ed6ef Darrick J. Wong 2017-03-28 32 struct xfs_fsmap *src)
e89c041338ed6ef Darrick J. Wong 2017-03-28 33 {
e89c041338ed6ef Darrick J. Wong 2017-03-28 34 dest->fmr_device = src->fmr_device;
e89c041338ed6ef Darrick J. Wong 2017-03-28 35 dest->fmr_flags = src->fmr_flags;
e89c041338ed6ef Darrick J. Wong 2017-03-28 36 dest->fmr_physical = BBTOB(src->fmr_physical);
e89c041338ed6ef Darrick J. Wong 2017-03-28 37 dest->fmr_owner = src->fmr_owner;
e89c041338ed6ef Darrick J. Wong 2017-03-28 38 dest->fmr_offset = BBTOB(src->fmr_offset);
e89c041338ed6ef Darrick J. Wong 2017-03-28 39 dest->fmr_length = BBTOB(src->fmr_length);
e89c041338ed6ef Darrick J. Wong 2017-03-28 40 dest->fmr_reserved[0] = 0;
e89c041338ed6ef Darrick J. Wong 2017-03-28 41 dest->fmr_reserved[1] = 0;
e89c041338ed6ef Darrick J. Wong 2017-03-28 42 dest->fmr_reserved[2] = 0;
e89c041338ed6ef Darrick J. Wong 2017-03-28 43 }
e89c041338ed6ef Darrick J. Wong 2017-03-28 44
:::::: The code at line 30 was first introduced by commit
:::::: e89c041338ed6ef2694e6465ca1ba033e0a2978c xfs: implement the GETFSMAP ioctl
:::::: TO: Darrick J. Wong <darrick.wong@oracle.com>
:::::: CC: Darrick J. Wong <darrick.wong@oracle.com>
---
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: 52725 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-02 10:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-02 10:26 [djwong-xfs:getfsmap-cleanups-5.10 105/105] fs/xfs/xfs_fsmap.c:30:1: error: no previous prototype for 'xfs_fsmap_from_internal' 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.