All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Stanislav Fomichev <stfomichev@gmail.com>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, davem@davemloft.net,
	edumazet@google.com, kuba@kernel.org, pabeni@redhat.com,
	skalluru@marvell.com, manishc@marvell.com, andrew+netdev@lunn.ch,
	michael.chan@broadcom.com, pavan.chebbi@broadcom.com,
	ajit.khaparde@broadcom.com, sriharsha.basavapatna@broadcom.com,
	somnath.kotur@broadcom.com, anthony.l.nguyen@intel.com,
	przemyslaw.kitszel@intel.com, tariqt@nvidia.com,
	saeedm@nvidia.com, louis.peens@corigine.com,
	shshaikh@marvell.com, GR-Linux-NIC-Dev@marvell.com,
	ecree.xilinx@gmail.com, horms@kernel.org, dsahern@kernel.org,
	shuah@kernel.org, tglx@linutronix.de, mingo@kernel.org,
	ruanjinjie@huawei.com, idosch@nvidia.com, razor@blackwall.org,
	petrm@nvidia.com
Subject: Re: [Intel-wired-lan] [PATCH net-next v4 2/6] vxlan: drop sock_lock
Date: Sat, 14 Jun 2025 18:43:54 +0800	[thread overview]
Message-ID: <202506141822.kFKjPah5-lkp@intel.com> (raw)
In-Reply-To: <20250613203325.1127217-3-stfomichev@gmail.com>

Hi Stanislav,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Stanislav-Fomichev/geneve-rely-on-rtnl-lock-in-geneve_offload_rx_ports/20250614-043457
base:   net-next/main
patch link:    https://lore.kernel.org/r/20250613203325.1127217-3-stfomichev%40gmail.com
patch subject: [Intel-wired-lan] [PATCH net-next v4 2/6] vxlan: drop sock_lock
config: m68k-atari_defconfig (https://download.01.org/0day-ci/archive/20250614/202506141822.kFKjPah5-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250614/202506141822.kFKjPah5-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/202506141822.kFKjPah5-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/net/vxlan/vxlan_core.c: In function '__vxlan_sock_release_prep':
>> drivers/net/vxlan/vxlan_core.c:1488:27: warning: variable 'vn' set but not used [-Wunused-but-set-variable]
    1488 |         struct vxlan_net *vn;
         |                           ^~


vim +/vn +1488 drivers/net/vxlan/vxlan_core.c

d342894c5d2f8c drivers/net/vxlan.c            stephen hemminger    2012-10-01  1485  
544a773a01828e drivers/net/vxlan.c            Hannes Frederic Sowa 2016-04-09  1486  static bool __vxlan_sock_release_prep(struct vxlan_sock *vs)
7c47cedf43a8b3 drivers/net/vxlan.c            Stephen Hemminger    2013-06-17  1487  {
b1be00a6c39fda drivers/net/vxlan.c            Jiri Benc            2015-09-24 @1488  	struct vxlan_net *vn;
012a5729ff933e drivers/net/vxlan.c            Pravin B Shelar      2013-08-19  1489  
dc248376cdc061 drivers/net/vxlan/vxlan_core.c Stanislav Fomichev   2025-06-13  1490  	ASSERT_RTNL();
dc248376cdc061 drivers/net/vxlan/vxlan_core.c Stanislav Fomichev   2025-06-13  1491  
b1be00a6c39fda drivers/net/vxlan.c            Jiri Benc            2015-09-24  1492  	if (!vs)
544a773a01828e drivers/net/vxlan.c            Hannes Frederic Sowa 2016-04-09  1493  		return false;
66af846fe54b78 drivers/net/vxlan.c            Reshetova, Elena     2017-07-04  1494  	if (!refcount_dec_and_test(&vs->refcnt))
544a773a01828e drivers/net/vxlan.c            Hannes Frederic Sowa 2016-04-09  1495  		return false;
d342894c5d2f8c drivers/net/vxlan.c            stephen hemminger    2012-10-01  1496  
b1be00a6c39fda drivers/net/vxlan.c            Jiri Benc            2015-09-24  1497  	vn = net_generic(sock_net(vs->sock->sk), vxlan_net_id);
7c47cedf43a8b3 drivers/net/vxlan.c            Stephen Hemminger    2013-06-17  1498  	hlist_del_rcu(&vs->hlist);
e7b3db5e60e8f4 drivers/net/vxlan.c            Alexander Duyck      2016-06-16  1499  	udp_tunnel_notify_del_rx_port(vs->sock,
b9adcd69bd7b41 drivers/net/vxlan.c            Alexander Duyck      2016-06-16  1500  				      (vs->flags & VXLAN_F_GPE) ?
b9adcd69bd7b41 drivers/net/vxlan.c            Alexander Duyck      2016-06-16  1501  				      UDP_TUNNEL_TYPE_VXLAN_GPE :
e7b3db5e60e8f4 drivers/net/vxlan.c            Alexander Duyck      2016-06-16  1502  				      UDP_TUNNEL_TYPE_VXLAN);
1c51a9159ddefa drivers/net/vxlan.c            Stephen Hemminger    2013-06-17  1503  
544a773a01828e drivers/net/vxlan.c            Hannes Frederic Sowa 2016-04-09  1504  	return true;
d342894c5d2f8c drivers/net/vxlan.c            stephen hemminger    2012-10-01  1505  }
d342894c5d2f8c drivers/net/vxlan.c            stephen hemminger    2012-10-01  1506  

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

  reply	other threads:[~2025-06-14 10:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-13 20:33 [Intel-wired-lan] [PATCH net-next v4 0/6] udp_tunnel: remove rtnl_lock dependency Stanislav Fomichev
2025-06-13 20:33 ` Stanislav Fomichev
2025-06-13 20:33 ` [Intel-wired-lan] [PATCH net-next v4 1/6] geneve: rely on rtnl lock in geneve_offload_rx_ports Stanislav Fomichev
2025-06-13 20:33   ` Stanislav Fomichev
2025-06-13 20:33 ` [Intel-wired-lan] [PATCH net-next v4 2/6] vxlan: drop sock_lock Stanislav Fomichev
2025-06-13 20:33   ` Stanislav Fomichev
2025-06-14 10:43   ` kernel test robot [this message]
2025-06-13 20:33 ` [Intel-wired-lan] [PATCH net-next v4 3/6] udp_tunnel: remove rtnl_lock dependency Stanislav Fomichev
2025-06-13 20:33   ` Stanislav Fomichev
2025-06-13 20:33 ` [Intel-wired-lan] [PATCH net-next v4 4/6] net: remove redundant ASSERT_RTNL() in queue setup functions Stanislav Fomichev
2025-06-13 20:33   ` Stanislav Fomichev
2025-06-13 20:33 ` [Intel-wired-lan] [PATCH net-next v4 5/6] netdevsim: remove udp_ports_sleep Stanislav Fomichev
2025-06-13 20:33   ` Stanislav Fomichev
2025-06-13 20:33 ` [Intel-wired-lan] [PATCH net-next v4 6/6] Revert "bnxt_en: bring back rtnl_lock() in the bnxt_open() path" Stanislav Fomichev
2025-06-13 20:33   ` Stanislav Fomichev

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=202506141822.kFKjPah5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=GR-Linux-NIC-Dev@marvell.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=ecree.xilinx@gmail.com \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=louis.peens@corigine.com \
    --cc=manishc@marvell.com \
    --cc=michael.chan@broadcom.com \
    --cc=mingo@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=pavan.chebbi@broadcom.com \
    --cc=petrm@nvidia.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=razor@blackwall.org \
    --cc=ruanjinjie@huawei.com \
    --cc=saeedm@nvidia.com \
    --cc=shshaikh@marvell.com \
    --cc=shuah@kernel.org \
    --cc=skalluru@marvell.com \
    --cc=somnath.kotur@broadcom.com \
    --cc=sriharsha.basavapatna@broadcom.com \
    --cc=stfomichev@gmail.com \
    --cc=tariqt@nvidia.com \
    --cc=tglx@linutronix.de \
    /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.