[djwong-xfs:repair-symlink-swapext 325/325] fs/xfs/libxfs/xfs_symlink_remote.c:387:1: warning: no previous prototype for 'xfs_symlink_remote_truncate'

From: kernel test robot
Date: Thu Dec 16 2021 - 09:27:12 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git repair-symlink-swapext
head: 851df07d9599471df909c4ff0e3cf33f4b9619f0
commit: 851df07d9599471df909c4ff0e3cf33f4b9619f0 [325/325] xfs: convert symlink repair to use swapext
config: m68k-randconfig-r006-20211214 (https://download.01.org/0day-ci/archive/20211216/202112162251.CsRh5Tbt-lkp@xxxxxxxxx/config)
compiler: m68k-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://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=851df07d9599471df909c4ff0e3cf33f4b9619f0
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs repair-symlink-swapext
git checkout 851df07d9599471df909c4ff0e3cf33f4b9619f0
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash fs/xfs/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

fs/xfs/libxfs/xfs_symlink_remote.c:28:1: warning: no previous prototype for 'xfs_symlink_blocks' [-Wmissing-prototypes]
28 | xfs_symlink_blocks(
| ^~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_symlink_remote.c:38:1: warning: no previous prototype for 'xfs_symlink_hdr_set' [-Wmissing-prototypes]
38 | xfs_symlink_hdr_set(
| ^~~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_symlink_remote.c:68:1: warning: no previous prototype for 'xfs_symlink_hdr_ok' [-Wmissing-prototypes]
68 | xfs_symlink_hdr_ok(
| ^~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_symlink_remote.c:167:1: warning: no previous prototype for 'xfs_symlink_local_to_remote' [-Wmissing-prototypes]
167 | xfs_symlink_local_to_remote(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_symlink_remote.c:206:1: warning: no previous prototype for 'xfs_symlink_shortform_verify' [-Wmissing-prototypes]
206 | xfs_symlink_shortform_verify(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_symlink_remote.c:239:1: warning: no previous prototype for 'xfs_symlink_remote_read' [-Wmissing-prototypes]
239 | xfs_symlink_remote_read(
| ^~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/libxfs/xfs_symlink_remote.c:311:1: warning: no previous prototype for 'xfs_symlink_write_target' [-Wmissing-prototypes]
311 | xfs_symlink_write_target(
| ^~~~~~~~~~~~~~~~~~~~~~~~
>> fs/xfs/libxfs/xfs_symlink_remote.c:387:1: warning: no previous prototype for 'xfs_symlink_remote_truncate' [-Wmissing-prototypes]
387 | xfs_symlink_remote_truncate(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/xfs_symlink_remote_truncate +387 fs/xfs/libxfs/xfs_symlink_remote.c

384
385 /* Remove all the blocks from a symlink and invalidate buffers. */
386 int
> 387 xfs_symlink_remote_truncate(

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx