tree:
https://android.googlesource.com/kernel/common android12-5.4
head: f058ed1ec2aaa13c313f42b46035a074f71920eb
commit: ba5d2b9a92c5b7112f494977bd42a4c512cc6575 [13/21] UPSTREAM: vsock/vmci: register
vmci_transport only when VMCI guest/host are active
config: x86_64-randconfig-r001-20210309 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
cd9a69289c7825d54450cb6829fef2c8e0f1963a)
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
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.4
git checkout ba5d2b9a92c5b7112f494977bd42a4c512cc6575
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> net/vmw_vsock/vmci_transport.c:2057:6: warning: no previous
prototype for function 'vmci_vsock_transport_cb' [-Wmissing-prototypes]
void vmci_vsock_transport_cb(bool is_host)
^
net/vmw_vsock/vmci_transport.c:2057:1: note: declare 'static' if the function
is not intended to be used outside of this translation unit
void vmci_vsock_transport_cb(bool is_host)
^
static
1 warning generated.
vim +/vmci_vsock_transport_cb +2057 net/vmw_vsock/vmci_transport.c
2056
2057 void vmci_vsock_transport_cb(bool is_host)
2058 {
2059 int features;
2060
2061 if (is_host)
2062 features = VSOCK_TRANSPORT_F_H2G;
2063 else
2064 features = VSOCK_TRANSPORT_F_G2H;
2065
2066 vsock_core_register(&vmci_transport, features);
2067 }
2068
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org