* fs/xfs/xfs_buf_item.c:80:2: error: implicit declaration of function 'xfs_buf_item_free_format'
@ 2021-05-04 2:35 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-04 2:35 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3453 bytes --]
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210504-072712/Brian-Foster/xfs-hold-buffer-across-unpin-and-potential-shutdown-processing/20210503-201957
head: bc4fc87e5e42ec444de83aa291fa808172c4d2b1
commit: bc4fc87e5e42ec444de83aa291fa808172c4d2b1 xfs: hold buffer across unpin and potential shutdown processing
date: 3 hours ago
config: powerpc-randconfig-r001-20210504 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8f5a2a5836cc8e4c1def2bdeb022e7b496623439)
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
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/0day-ci/linux/commit/bc4fc87e5e42ec444de83aa291fa808172c4d2b1
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210504-072712/Brian-Foster/xfs-hold-buffer-across-unpin-and-potential-shutdown-processing/20210503-201957
git checkout bc4fc87e5e42ec444de83aa291fa808172c4d2b1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=powerpc
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_buf_item.c:80:2: error: implicit declaration of function 'xfs_buf_item_free_format' [-Werror,-Wimplicit-function-declaration]
xfs_buf_item_free_format(bip);
^
fs/xfs/xfs_buf_item.c:80:2: note: did you mean 'xfs_buf_item_dirty_format'?
fs/xfs/xfs_buf_item.h:56:6: note: 'xfs_buf_item_dirty_format' declared here
bool xfs_buf_item_dirty_format(struct xfs_buf_log_item *);
^
fs/xfs/xfs_buf_item.c:524:8: warning: unused variable 'freed' [-Wunused-variable]
int freed;
^
>> fs/xfs/xfs_buf_item.c:803:15: error: use of undeclared identifier 'bli'
atomic_inc(&bli->bli_refcount);
^
fs/xfs/xfs_buf_item.c:839:1: error: static declaration of 'xfs_buf_item_free_format' follows non-static declaration
xfs_buf_item_free_format(
^
fs/xfs/xfs_buf_item.c:80:2: note: previous implicit declaration is here
xfs_buf_item_free_format(bip);
^
>> fs/xfs/xfs_buf_item.c:1090:19: error: incompatible pointer types passing 'struct xfs_buf *' to parameter of type 'struct xfs_buf_log_item *' [-Werror,-Wincompatible-pointer-types]
xfs_buf_item_put(bp);
^~
fs/xfs/xfs_buf_item.c:666:27: note: passing argument to parameter 'bip' here
struct xfs_buf_log_item *bip)
^
1 warning and 4 errors generated.
vim +/xfs_buf_item_free_format +80 fs/xfs/xfs_buf_item.c
75
76 static void
77 xfs_buf_item_free(
78 struct xfs_buf_log_item *bip)
79 {
> 80 xfs_buf_item_free_format(bip);
81 kmem_free(bip->bli_item.li_lv_shadow);
82 kmem_cache_free(xfs_buf_item_zone, bip);
83 }
84
---
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: 33537 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* fs/xfs/xfs_buf_item.c:80:2: error: implicit declaration of function 'xfs_buf_item_free_format'
@ 2021-05-04 2:38 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-04 2:38 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3449 bytes --]
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210504-072712/Brian-Foster/xfs-hold-buffer-across-unpin-and-potential-shutdown-processing/20210503-201957
head: bc4fc87e5e42ec444de83aa291fa808172c4d2b1
commit: bc4fc87e5e42ec444de83aa291fa808172c4d2b1 xfs: hold buffer across unpin and potential shutdown processing
date: 3 hours ago
config: x86_64-randconfig-a012-20210503 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8f5a2a5836cc8e4c1def2bdeb022e7b496623439)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/bc4fc87e5e42ec444de83aa291fa808172c4d2b1
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210504-072712/Brian-Foster/xfs-hold-buffer-across-unpin-and-potential-shutdown-processing/20210503-201957
git checkout bc4fc87e5e42ec444de83aa291fa808172c4d2b1
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
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_buf_item.c:80:2: error: implicit declaration of function 'xfs_buf_item_free_format' [-Werror,-Wimplicit-function-declaration]
xfs_buf_item_free_format(bip);
^
fs/xfs/xfs_buf_item.c:80:2: note: did you mean 'xfs_buf_item_dirty_format'?
fs/xfs/xfs_buf_item.h:56:6: note: 'xfs_buf_item_dirty_format' declared here
bool xfs_buf_item_dirty_format(struct xfs_buf_log_item *);
^
fs/xfs/xfs_buf_item.c:524:8: warning: unused variable 'freed' [-Wunused-variable]
int freed;
^
>> fs/xfs/xfs_buf_item.c:803:15: error: use of undeclared identifier 'bli'
atomic_inc(&bli->bli_refcount);
^
>> fs/xfs/xfs_buf_item.c:839:1: error: static declaration of 'xfs_buf_item_free_format' follows non-static declaration
xfs_buf_item_free_format(
^
fs/xfs/xfs_buf_item.c:80:2: note: previous implicit declaration is here
xfs_buf_item_free_format(bip);
^
>> fs/xfs/xfs_buf_item.c:1090:19: error: incompatible pointer types passing 'struct xfs_buf *' to parameter of type 'struct xfs_buf_log_item *' [-Werror,-Wincompatible-pointer-types]
xfs_buf_item_put(bp);
^~
fs/xfs/xfs_buf_item.c:666:27: note: passing argument to parameter 'bip' here
struct xfs_buf_log_item *bip)
^
1 warning and 4 errors generated.
vim +/xfs_buf_item_free_format +80 fs/xfs/xfs_buf_item.c
75
76 static void
77 xfs_buf_item_free(
78 struct xfs_buf_log_item *bip)
79 {
> 80 xfs_buf_item_free_format(bip);
81 kmem_free(bip->bli_item.li_lv_shadow);
82 kmem_cache_free(xfs_buf_item_zone, bip);
83 }
84
---
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: 35868 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-04 2:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 2:35 fs/xfs/xfs_buf_item.c:80:2: error: implicit declaration of function 'xfs_buf_item_free_format' kernel test robot
2021-05-04 2:38 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.