[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZUTBegMOO36wC4mH@calendula>
Date: Fri, 3 Nov 2023 10:46:34 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: kernel test robot <lkp@...el.com>
Cc: Florian Westphal <fw@...len.de>, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, netfilter-devel@...r.kernel.org
Subject: Re: net/netfilter/nft_set_rbtree.c:636:33: warning: variable
'nft_net' set but not used
On Fri, Nov 03, 2023 at 04:40:55PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 8f6f76a6a29f36d2f3e4510d0bde5046672f6924
> commit: 7d259f021aaa78904b6c836d975e8e00d83a182a netfilter: nft_set_rbtree: prefer sync gc to async worker
> date: 10 days ago
> config: s390-defconfig (https://download.01.org/0day-ci/archive/20231103/202311031627.Kx0hfrUu-lkp@intel.com/config)
> compiler: s390-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231103/202311031627.Kx0hfrUu-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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202311031627.Kx0hfrUu-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> net/netfilter/nft_set_rbtree.c: In function 'nft_rbtree_gc':
> >> net/netfilter/nft_set_rbtree.c:636:33: warning: variable 'nft_net' set but not used [-Wunused-but-set-variable]
> 636 | struct nftables_pernet *nft_net;
> | ^~~~~~~
Fix is here.
It is missing Fixes: tag though.
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20231101013351.55902-1-yang.lee@linux.alibaba.com/
Powered by blists - more mailing lists