Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on nf-next/master] url: https://github.com/0day-ci/linux/commits/wenxu-ucloud-cn/netfilter-Support-the-bridge-family-in-flow-table/20190830-172019 base: https://kernel.googlesource.com/pub/scm/linux/kernel/git/pablo/nf-next.git master config: x86_64-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.4.0-11) 7.4.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> Note: it may well be a FALSE warning. FWIW you are at least aware of it now. http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings All warnings (new ones prefixed by >>): net/netfilter/nf_flow_table_ip.c: In function 'nf_flow_offload_ipv6_hook': >> net/netfilter/nf_flow_table_ip.c:562:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] int ret; ^~~ net/netfilter/nf_flow_table_ip.c: In function 'nf_flow_offload_ip_hook': net/netfilter/nf_flow_table_ip.c:309:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] int ret; ^~~ vim +/ret +562 net/netfilter/nf_flow_table_ip.c 551 552 unsigned int 553 nf_flow_offload_ipv6_hook(void *priv, struct sk_buff *skb, 554 const struct nf_hook_state *state) 555 { 556 struct flow_offload_tuple_rhash *tuplehash; 557 struct nf_flowtable *flow_table = priv; 558 int family = flow_table->type->family; 559 struct flow_offload_tuple tuple = {}; 560 enum flow_offload_tuple_dir dir; 561 struct flow_offload *flow; > 562 int ret; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip