Return-Path: Received: from mail-it0-f65.google.com ([209.85.214.65]:50763 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732127AbeGaP2D (ORCPT ); Tue, 31 Jul 2018 11:28:03 -0400 Subject: Re: linux-next: build warning after merge of the nfs-anna tree To: David Wysochanski , Stephen Rothwell , Anna Schumaker , Trond Myklebust , NFS Mailing List Cc: Linux-Next Mailing List , Linux Kernel Mailing List References: <20180730185200.0d836ca7@canb.auug.org.au> <1533027885.3710.2.camel@redhat.com> From: Anna Schumaker Message-ID: <35966b8f-43c9-ed1c-215e-f26a0fc1395b@gmail.com> Date: Tue, 31 Jul 2018 09:46:52 -0400 MIME-Version: 1.0 In-Reply-To: <1533027885.3710.2.camel@redhat.com> Content-Type: text/plain; charset=utf-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi David, On 07/31/2018 05:04 AM, David Wysochanski wrote: > On Mon, 2018-07-30 at 18:52 +1000, Stephen Rothwell wrote: >> Hi all, >> >> After merging the nfs-anna tree, today's linux-next build (powerpc >> ppc44x_defconfig, sparc defconfig) produced this warning: >> >> net/sunrpc/stats.c: In function 'rpc_clnt_show_stats': >> /home/sfr/next/next/net/sunrpc/stats.c:258:32: warning: excess elements in struct initializer >> struct rpc_iostats stats = { 0 }; >> > > Apologies I did not see this before submission. > > The below fixup compiles without warning for me on ppc64le. > >    struct rpc_iostats stats = {}; Can you resend the patch with that change, please? Thanks, Anna > > >> ^ >> >> Introduced by commit >> >> c3b588a2d5be ("sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones") >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >