Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuniyuki Iwashima <kuniyu@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Jakub Kicinski <kuba@kernel.org>
Subject: [linux-next:master 10754/11755] drivers/net/geneve.c:778:12: error: no member named 'local_ip6' in 'struct udp_port_cfg'
Date: Sun, 07 Jun 2026 00:04:51 +0800	[thread overview]
Message-ID: <202606070019.yx2LhZPU-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   6e845bcb78c95af935094040bd4edc3c2b6dd784
commit: afabbb56a7262979a75259e2710019aa8ced3e8a [10754/11755] geneve: Introduce IFLA_GENEVE_LOCAL and IFLA_GENEVE_LOCAL6.
config: hexagon-randconfig-001-20260606 (https://download.01.org/0day-ci/archive/20260607/202606070019.yx2LhZPU-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260607/202606070019.yx2LhZPU-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606070019.yx2LhZPU-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/net/geneve.c:778:12: error: no member named 'local_ip6' in 'struct udp_port_cfg'
     778 |                 udp_conf.local_ip6 = info->key.u.ipv6.src;
         |                 ~~~~~~~~ ^
   1 error generated.


vim +778 drivers/net/geneve.c

   763	
   764	static struct sock *geneve_create_sock(struct net *net,
   765					       struct geneve_dev *geneve, bool ipv6)
   766	{
   767		struct ip_tunnel_info *info = &geneve->cfg.info;
   768		struct udp_port_cfg udp_conf;
   769		struct socket *sock;
   770		int err;
   771	
   772		memset(&udp_conf, 0, sizeof(udp_conf));
   773	
   774		if (ipv6) {
   775			udp_conf.family = AF_INET6;
   776			udp_conf.ipv6_v6only = 1;
   777			udp_conf.use_udp6_rx_checksums = geneve->cfg.use_udp6_rx_checksums;
 > 778			udp_conf.local_ip6 = info->key.u.ipv6.src;
   779		} else {
   780			udp_conf.family = AF_INET;
   781			udp_conf.local_ip.s_addr = info->key.u.ipv4.src;
   782		}
   783	
   784		udp_conf.local_udp_port = info->key.tp_dst;
   785	
   786		/* Open UDP socket */
   787		err = udp_sock_create(net, &udp_conf, &sock);
   788		if (err < 0)
   789			return ERR_PTR(err);
   790	
   791		udp_allow_gso(sock->sk);
   792		return sock->sk;
   793	}
   794	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-06-06 16:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-06 16:04 kernel test robot [this message]
2026-06-06 20:50 ` [linux-next:master 10754/11755] drivers/net/geneve.c:778:12: error: no member named 'local_ip6' in 'struct udp_port_cfg' Kuniyuki Iwashima

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=202606070019.yx2LhZPU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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