Re: [PATCH nf-next,v2] netfilter: ctnetlink: remove function inline declaration

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

 



On Mon, Oct 05, 2015 at 03:18:04AM +0800, kbuild test robot wrote:
> Hi Pablo,
> 
> [auto build test results on v4.3-rc4 -- if it's inappropriate base, please ignore]
> 
> config: i386-defconfig (attached as .config)
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All warnings (new ones prefixed by >>):
> 
> >> net/netfilter/nf_conntrack_netlink.c:529:15: warning: 'ctnetlink_proto_size' defined but not used [-Wunused-function]
>     static size_t ctnetlink_proto_size(const struct nf_conn *ct)
>                   ^
> >> net/netfilter/nf_conntrack_netlink.c:546:15: warning: 'ctnetlink_acct_size' defined but not used [-Wunused-function]
>     static size_t ctnetlink_acct_size(const struct nf_conn *ct)
>                   ^
> >> net/netfilter/nf_conntrack_netlink.c:556:12: warning: 'ctnetlink_secctx_size' defined but not used [-Wunused-function]
>     static int ctnetlink_secctx_size(const struct nf_conn *ct)
>                ^
> >> net/netfilter/nf_conntrack_netlink.c:572:15: warning: 'ctnetlink_timestamp_size' defined but not used [-Wunused-function]
>     static size_t ctnetlink_timestamp_size(const struct nf_conn *ct)
>                   ^
> 
> vim +/ctnetlink_proto_size +529 net/netfilter/nf_conntrack_netlink.c
> 
>    523	nlmsg_failure:
>    524	nla_put_failure:
>    525		nlmsg_cancel(skb, nlh);
>    526		return -1;
>    527	}
>    528	
>  > 529	static size_t ctnetlink_proto_size(const struct nf_conn *ct)

Argh.

I'm going to stop and give a closer look to this. Sorry.

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux