tree:
https://github.com/dsahern/linux nvme-tcp-offload
head: b9ae3391dc24a401030b31ad5363e0471ae386e0
commit: a588b48a32a48f80f740a38b549b3edbb537afa0 [5/15] nvme-tcp: Add DDP offload control
path
config: x86_64-randconfig-a005-20201209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
1968804ac726e7674d5de22bc2204b45857da344)
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/dsahern/linux/commit/a588b48a32a48f80f740a38b549b3edbb...
git remote add dsahern-linux
https://github.com/dsahern/linux
git fetch --no-tags dsahern-linux nvme-tcp-offload
git checkout a588b48a32a48f80f740a38b549b3edbb537afa0
# 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 >>):
> drivers/nvme/host/tcp.c:398:6: warning: no previous prototype for
function 'nvme_tcp_resync_request' [-Wmissing-prototypes]
bool
nvme_tcp_resync_request(struct sock *sk, u32 seq, u32 flags)
^
drivers/nvme/host/tcp.c:398:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
bool nvme_tcp_resync_request(struct sock *sk, u32 seq, u32 flags)
^
static
drivers/nvme/host/tcp.c:214:22: warning: unused function 'nvme_tcp_req_offset'
[-Wunused-function]
static inline size_t nvme_tcp_req_offset(struct nvme_tcp_request *req)
^
2 warnings generated.
vim +/nvme_tcp_resync_request +398 drivers/nvme/host/tcp.c
397
398 bool nvme_tcp_resync_request(struct sock *sk, u32 seq, u32 flags)
399 {
400 return false;
401 }
402
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org