Re: [PATCH nf-next 1/3] netfilter: bridge: add nf_afinfo to enable queuing to userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi stephane,

[auto build test WARNING on nf-next/master]

url:    https://github.com/0day-ci/linux/commits/Stephane-Bryant/netfilter-bridge-add-queuing-to-userspace-for-AF_BRIDGE-family/20160115-165136
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next master
config: xtensa-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

>> net/bridge/br_netfilter_hooks.c:1038:2: warning: initialization from incompatible pointer type
     .reroute  = nf_br_reroute,
     ^
   net/bridge/br_netfilter_hooks.c:1038:2: warning: (near initialization for 'nf_br_afinfo.reroute')

vim +1038 net/bridge/br_netfilter_hooks.c

  1022	{
  1023		return 0;
  1024	}
  1025	
  1026	static int nf_br_route(struct net *net, struct dst_entry **dst,
  1027			       struct flowi *fl, bool strict __always_unused)
  1028	{
  1029		return 0;
  1030	}
  1031	
  1032	static const struct nf_afinfo nf_br_afinfo = {
  1033		.family			= AF_BRIDGE,
  1034		.checksum		= nf_br_checksum,
  1035		.checksum_partial	= nf_br_checksum_partial,
  1036		.route			= nf_br_route,
  1037		.saveroute		= nf_br_saveroute,
> 1038		.reroute		= nf_br_reroute,
  1039		.route_key_size		= 0,
  1040	};
  1041	
  1042	static int __init br_netfilter_init(void)
  1043	{
  1044		int ret;
  1045	
  1046		ret = nf_register_hooks(br_nf_ops, ARRAY_SIZE(br_nf_ops));

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux