From: kernel test robot <lkp@intel.com>
To: dccp@vger.kernel.org
Subject: Re: [PATCH net-next v3] net: ioctl: Use kernel memory on protocol ioctl callbacks
Date: Sun, 28 May 2023 18:05:23 +0000 [thread overview]
Message-ID: <202305290107.hs8sbfYc-lkp@intel.com> (raw)
In-Reply-To: <20230525125503.400797-1-leitao@debian.org>
Hi Breno,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Breno-Leitao/net-ioctl-Use-kernel-memory-on-protocol-ioctl-callbacks/20230525-205741
base: net-next/main
patch link: https://lore.kernel.org/r/20230525125503.400797-1-leitao%40debian.org
patch subject: [PATCH net-next v3] net: ioctl: Use kernel memory on protocol ioctl callbacks
config: i386-randconfig-i061-20230525 (https://download.01.org/0day-ci/archive/20230529/202305290107.hs8sbfYc-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/dbeb44f8503d11da0219fc6ef8a56c28cfde1511
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Breno-Leitao/net-ioctl-Use-kernel-memory-on-protocol-ioctl-callbacks/20230525-205741
git checkout dbeb44f8503d11da0219fc6ef8a56c28cfde1511
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/phonet/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305290107.hs8sbfYc-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/phonet/af_phonet.c:43:5: error: redefinition of 'phonet_sk_ioctl'
int phonet_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg)
^
include/net/phonet/phonet.h:125:19: note: previous definition is here
static inline int phonet_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg)
^
1 error generated.
vim +/phonet_sk_ioctl +43 net/phonet/af_phonet.c
42
> 43 int phonet_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg)
44 {
45 int karg;
46
47 switch (cmd) {
48 case SIOCPNADDRESOURCE:
49 case SIOCPNDELRESOURCE:
50 if (get_user(karg, (int __user *)arg))
51 return -EFAULT;
52
53 return sk->sk_prot->ioctl(sk, cmd, &karg);
54 }
55 /* A positive return value means that the ioctl was not processed */
56 return 1;
57 }
58
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Breno Leitao <leitao@debian.org>,
dsahern@kernel.org, willemdebruijn.kernel@gmail.com,
Remi Denis-Courmont <courmisch@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Alexander Aring <alex.aring@gmail.com>,
Stefan Schmidt <stefan@datenfreihafen.org>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Matthieu Baerts <matthieu.baerts@tessares.net>,
Mat Martineau <martineau@kernel.org>,
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
Xin Long <lucien.xin@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
netdev@vger.kernel.org, leit@fb.com, axboe@kernel.dk,
asml.silence@gmail.com, linux-kernel@vger.kernel.org,
dccp@vger.kernel.org, linux-wpan@vger.kernel.org,
mptcp@lists.linux.dev, linux-sctp@vger.kernel.org
Subject: Re: [PATCH net-next v3] net: ioctl: Use kernel memory on protocol ioctl callbacks
Date: Mon, 29 May 2023 02:05:23 +0800 [thread overview]
Message-ID: <202305290107.hs8sbfYc-lkp@intel.com> (raw)
In-Reply-To: <20230525125503.400797-1-leitao@debian.org>
Hi Breno,
kernel test robot noticed the following build errors:
[auto build test ERROR on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Breno-Leitao/net-ioctl-Use-kernel-memory-on-protocol-ioctl-callbacks/20230525-205741
base: net-next/main
patch link: https://lore.kernel.org/r/20230525125503.400797-1-leitao%40debian.org
patch subject: [PATCH net-next v3] net: ioctl: Use kernel memory on protocol ioctl callbacks
config: i386-randconfig-i061-20230525 (https://download.01.org/0day-ci/archive/20230529/202305290107.hs8sbfYc-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
mkdir -p ~/bin
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/dbeb44f8503d11da0219fc6ef8a56c28cfde1511
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Breno-Leitao/net-ioctl-Use-kernel-memory-on-protocol-ioctl-callbacks/20230525-205741
git checkout dbeb44f8503d11da0219fc6ef8a56c28cfde1511
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/phonet/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305290107.hs8sbfYc-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/phonet/af_phonet.c:43:5: error: redefinition of 'phonet_sk_ioctl'
int phonet_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg)
^
include/net/phonet/phonet.h:125:19: note: previous definition is here
static inline int phonet_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg)
^
1 error generated.
vim +/phonet_sk_ioctl +43 net/phonet/af_phonet.c
42
> 43 int phonet_sk_ioctl(struct sock *sk, unsigned int cmd, void __user *arg)
44 {
45 int karg;
46
47 switch (cmd) {
48 case SIOCPNADDRESOURCE:
49 case SIOCPNDELRESOURCE:
50 if (get_user(karg, (int __user *)arg))
51 return -EFAULT;
52
53 return sk->sk_prot->ioctl(sk, cmd, &karg);
54 }
55 /* A positive return value means that the ioctl was not processed */
56 return 1;
57 }
58
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-05-28 18:05 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 12:54 [PATCH net-next v3] net: ioctl: Use kernel memory on protocol ioctl callbacks Breno Leitao
2023-05-25 12:54 ` Breno Leitao
2023-05-25 14:19 ` Eric Dumazet
2023-05-25 14:19 ` Eric Dumazet
2023-05-25 14:54 ` Simon Horman
2023-05-25 14:54 ` Simon Horman
2023-05-25 15:03 ` David Ahern
2023-05-25 15:03 ` David Ahern
2023-05-25 15:05 ` Willem de Bruijn
2023-05-25 15:05 ` Willem de Bruijn
2023-05-25 15:16 ` net: ioctl: Use kernel memory on protocol ioctl callbacks: Tests Results MPTCP CI
2023-05-25 15:34 ` [PATCH net-next v3] net: ioctl: Use kernel memory on protocol ioctl callbacks David Ahern
2023-05-25 15:34 ` David Ahern
2023-05-25 16:06 ` Willem de Bruijn
2023-05-25 16:06 ` Willem de Bruijn
2023-05-26 1:15 ` kernel test robot
2023-05-26 8:49 ` Breno Leitao
2023-05-26 8:49 ` Breno Leitao
2023-05-26 9:08 ` Breno Leitao
2023-05-26 9:08 ` Breno Leitao
2023-05-26 14:09 ` Willem de Bruijn
2023-05-26 14:09 ` Willem de Bruijn
2023-05-28 18:05 ` kernel test robot [this message]
2023-05-28 18:05 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202305290107.hs8sbfYc-lkp@intel.com \
--to=lkp@intel.com \
--cc=dccp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.