* net/netfilter/ipvs/ip_vs_conn.c:827:13: warning: 'ip_vs_conn_del' defined but not used
@ 2024-03-01 18:07 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-01 18:07 UTC (permalink / raw)
To: jasperwang, kaixuxia, frankjpliu, kasong, sagazchen, kernelxing,
aurelianliu, jason.zeng, wu.zheng, yingbao.jia, pei.p.jia
Cc: oe-kbuild-all
tree: https://gitee.com/OpenCloudOS/OpenCloudOS-Kernel.git linux-5.4/lts/5.4.119-20.0009
head: 3bf5c3f6e32e9cfe13f09bac3ae93b8e39d472c1
commit: 17af31ba1e41411828b96431040a21b51193e015 ipvs: queue delayed work to expire no destination connections if expire_nodest_conn=1
date: 11 months ago
config: arm64-randconfig-003-20240301 (https://download.01.org/0day-ci/archive/20240302/202403020145.sBIfPoyd-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240302/202403020145.sBIfPoyd-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/202403020145.sBIfPoyd-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> net/netfilter/ipvs/ip_vs_conn.c:827:13: warning: 'ip_vs_conn_del' defined but not used [-Wunused-function]
827 | static void ip_vs_conn_del(struct ip_vs_conn *cp)
| ^~~~~~~~~~~~~~
vim +/ip_vs_conn_del +827 net/netfilter/ipvs/ip_vs_conn.c
825
826 /* Try to delete connection while not holding reference */
> 827 static void ip_vs_conn_del(struct ip_vs_conn *cp)
828 {
829 if (del_timer(&cp->timer)) {
830 /* Drop cp->control chain too */
831 if (cp->control)
832 cp->timeout = 0;
833 ip_vs_conn_expire(&cp->timer);
834 }
835 }
836
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-03-01 18:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 18:07 net/netfilter/ipvs/ip_vs_conn.c:827:13: warning: 'ip_vs_conn_del' defined but not used kernel test robot
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.