[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202106261120.d3MhD5Np-lkp@intel.com>
Date: Sat, 26 Jun 2021 11:40:46 +0800
From: kernel test robot <lkp@...el.com>
To: Alexander Aring <aahringo@...hat.com>, netdev@...r.kernel.org
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
davem@...emloft.net, kuba@...nel.org
Subject: Re: [PATCH net-next 1/2] net: sock: introduce sk_error_report
Hi Alexander,
I love your patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Alexander-Aring/net-sock-add-tracers-for-inet-socket-errors/20210626-031959
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 19938bafa7ae8fc0a4a2c1c1430abb1a04668da1
config: x86_64-randconfig-a012-20210625 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 557b101ce714e39438ba1d39c4c50b03e12fcb96)
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/23e631bac02c834a4d4e560e317bf7907d874484
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Alexander-Aring/net-sock-add-tracers-for-inet-socket-errors/20210626-031959
git checkout 23e631bac02c834a4d4e560e317bf7907d874484
# 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@...el.com>
All errors (new ones prefixed by >>):
>> net/qrtr/qrtr.c:754:3: error: use of undeclared identifier 'sk'
sk.sk_error_report(&ipc->sk);
^
1 error generated.
vim +/sk +754 net/qrtr/qrtr.c
743
744 /* Reset all non-control ports */
745 static void qrtr_reset_ports(void)
746 {
747 struct qrtr_sock *ipc;
748 unsigned long index;
749
750 rcu_read_lock();
751 xa_for_each_start(&qrtr_ports, index, ipc, 1) {
752 sock_hold(&ipc->sk);
753 ipc->sk.sk_err = ENETRESET;
> 754 sk.sk_error_report(&ipc->sk);
755 sock_put(&ipc->sk);
756 }
757 rcu_read_unlock();
758 }
759
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (46686 bytes)
Powered by blists - more mailing lists