[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202112301434.DN0qgOT0-lkp@intel.com>
Date: Thu, 30 Dec 2021 14:22:55 +0800
From: kernel test robot <lkp@...el.com>
To: Goldwyn Rodrigues <rgoldwyn@...e.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [goldwynr:iomap 25/33] fs/btrfs/file.c:1781:24: sparse: sparse:
symbol 'btrfs_buffered_iomap_ops' was not declared. Should it be static?
tree: https://github.com/goldwynr/linux iomap
head: 30c74a8c201365178cae26d0d7aefa120c3245ab
commit: f4ecee4435f363df5a0fc93124ddddae5f79d9d0 [25/33] btrfs: Switch to iomap_file_buffered_write()
config: i386-randconfig-s001-20211228 (https://download.01.org/0day-ci/archive/20211230/202112301434.DN0qgOT0-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/goldwynr/linux/commit/f4ecee4435f363df5a0fc93124ddddae5f79d9d0
git remote add goldwynr https://github.com/goldwynr/linux
git fetch --no-tags goldwynr iomap
git checkout f4ecee4435f363df5a0fc93124ddddae5f79d9d0
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash fs/btrfs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> fs/btrfs/file.c:1781:24: sparse: sparse: symbol 'btrfs_buffered_iomap_ops' was not declared. Should it be static?
vim +/btrfs_buffered_iomap_ops +1781 fs/btrfs/file.c
1780
> 1781 const struct iomap_ops btrfs_buffered_iomap_ops = {
1782 .iomap_begin = btrfs_buffered_iomap_begin,
1783 .iomap_end = btrfs_buffered_iomap_end,
1784 };
1785
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists