netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: net/netfilter/nft_set_rbtree.c:636:33: warning: variable 'nft_net' set but not used
       [not found] <202311031627.Kx0hfrUu-lkp@intel.com>
@ 2023-11-03  9:46 ` Pablo Neira Ayuso
  0 siblings, 0 replies; only message in thread
From: Pablo Neira Ayuso @ 2023-11-03  9:46 UTC (permalink / raw)
  To: kernel test robot
  Cc: Florian Westphal, oe-kbuild-all, linux-kernel, netfilter-devel

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@intel.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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-03  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <202311031627.Kx0hfrUu-lkp@intel.com>
2023-11-03  9:46 ` net/netfilter/nft_set_rbtree.c:636:33: warning: variable 'nft_net' set but not used Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).