From: kernel test robot <lkp@intel.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [pablo-gtp:main 5/5] drivers/net/gtp.c:1225:13: error: no member named 'local_ip6' in 'struct udp_port_cfg'
Date: Sat, 8 Apr 2023 11:38:17 +0800 [thread overview]
Message-ID: <202304081142.M3PPnGma-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git main
head: 371016d821b96636a0a571bc8cabb7048369daa7
commit: 371016d821b96636a0a571bc8cabb7048369daa7 [5/5] gtp: add IPv6 support
config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20230408/202304081142.M3PPnGma-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git/commit/?id=371016d821b96636a0a571bc8cabb7048369daa7
git remote add pablo-gtp https://git.kernel.org/pub/scm/linux/kernel/git/pablo/gtp.git
git fetch --no-tags pablo-gtp main
git checkout 371016d821b96636a0a571bc8cabb7048369daa7
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304081142.M3PPnGma-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/gtp.c:1225:13: error: no member named 'local_ip6' in 'struct udp_port_cfg'
udp_conf->local_ip6 = nla_get_in6_addr(nla);
~~~~~~~~ ^
1 error generated.
vim +1225 drivers/net/gtp.c
1214
1215 static int gtp_sock_udp_config(struct udp_port_cfg *udp_conf,
1216 const struct nlattr *nla, int family)
1217 {
1218 udp_conf->family = family;
1219
1220 switch (udp_conf->family) {
1221 case AF_INET:
1222 udp_conf->local_ip.s_addr = nla_get_be32(nla);
1223 break;
1224 case AF_INET6:
> 1225 udp_conf->local_ip6 = nla_get_in6_addr(nla);
1226 break;
1227 default:
1228 return -EOPNOTSUPP;
1229 }
1230
1231 return 0;
1232 }
1233
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-04-08 3:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202304081142.M3PPnGma-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pablo@netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox