* [pablo-gtp:main 5/5] drivers/net/gtp.c:1225:13: error: no member named 'local_ip6' in 'struct udp_port_cfg'
@ 2023-04-08 3:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-08 3:38 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: llvm, oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-08 3:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-08 3:38 [pablo-gtp:main 5/5] drivers/net/gtp.c:1225:13: error: no member named 'local_ip6' in 'struct udp_port_cfg' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox