linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the nfs-anna tree
@ 2018-07-30  8:52 Stephen Rothwell
  2018-07-31  9:04 ` David Wysochanski
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2018-07-30  8:52 UTC (permalink / raw)
  To: Anna Schumaker, Trond Myklebust, NFS Mailing List
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Dave Wysochanski

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

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 };
                                ^

Introduced by commit

  c3b588a2d5be ("sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build warning after merge of the nfs-anna tree
  2018-07-30  8:52 linux-next: build warning after merge of the nfs-anna tree Stephen Rothwell
@ 2018-07-31  9:04 ` David Wysochanski
  2018-07-31 13:46   ` Anna Schumaker
  0 siblings, 1 reply; 3+ messages in thread
From: David Wysochanski @ 2018-07-31  9:04 UTC (permalink / raw)
  To: Stephen Rothwell, Anna Schumaker, Trond Myklebust, NFS Mailing List
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

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 = {};


>                         ^
> 
> Introduced by commit
> 
>   c3b588a2d5be ("sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones")
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build warning after merge of the nfs-anna tree
  2018-07-31  9:04 ` David Wysochanski
@ 2018-07-31 13:46   ` Anna Schumaker
  0 siblings, 0 replies; 3+ messages in thread
From: Anna Schumaker @ 2018-07-31 13:46 UTC (permalink / raw)
  To: David Wysochanski, Stephen Rothwell, Anna Schumaker,
	Trond Myklebust, NFS Mailing List
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

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
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-31 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-30  8:52 linux-next: build warning after merge of the nfs-anna tree Stephen Rothwell
2018-07-31  9:04 ` David Wysochanski
2018-07-31 13:46   ` Anna Schumaker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).