From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751373AbcLEBUc (ORCPT ); Sun, 4 Dec 2016 20:20:32 -0500 Received: from ozlabs.org ([103.22.144.67]:46237 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750995AbcLEBUb (ORCPT ); Sun, 4 Dec 2016 20:20:31 -0500 Date: Mon, 5 Dec 2016 12:19:38 +1100 From: Stephen Rothwell To: Pablo Neira Ayuso , NetFilter Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: linux-next: build warnings after merge of the netfilter-next tree Message-ID: <20161205121938.014bc604@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, After merging the netfilter-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from arch/x86/include/asm/checksum.h:4:0, from include/net/checksum.h:26, from include/linux/skbuff.h:31, from include/linux/if_ether.h:23, from include/uapi/linux/ethtool.h:18, from include/linux/ethtool.h:17, from include/linux/netdevice.h:42, from include/linux/if_vlan.h:15, from net/netfilter/nft_payload.c:13: net/netfilter/nft_payload.c: In function 'nft_payload_set_eval': arch/x86/include/asm/checksum_64.h:184:2: warning: 'tsum' may be used uninitialized in this function [-Wmaybe-uninitialized] asm("addl %2,%0\n\t" ^ net/netfilter/nft_payload.c:261:15: note: 'tsum' was declared here __wsum fsum, tsum; ^ In file included from include/linux/skbuff.h:31:0, from include/linux/if_ether.h:23, from include/uapi/linux/ethtool.h:18, from include/linux/ethtool.h:17, from include/linux/netdevice.h:42, from include/linux/if_vlan.h:15, from net/netfilter/nft_payload.c:13: include/net/checksum.h:71:9: warning: 'fsum' may be used uninitialized in this function [-Wmaybe-uninitialized] return csum_add(csum, ~addend); ^ net/netfilter/nft_payload.c:261:9: note: 'fsum' was declared here __wsum fsum, tsum; ^ Introduced by commit 556c291b3a1b ("netfilter: nft_payload: layer 4 checksum adjustment for pseudoheader fields") -- Cheers, Stephen Rothwell