2017-04-03 01:09:53

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the nfsd tree

Hi,

After merging the nfsd tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/nfsd/nfs4state.c: In function 'copy_cred':
fs/nfsd/nfs4state.c:1917:6: warning: unused variable 'ret' [-Wunused-variable]
int ret;
^

Introduced by commit

d39662236bf8 ("nfsd4: remove pointless strdup_if_nonnull")

Also, that commit has no Signed-off-by from its Author.

--
Cheers,
Stephen Rothwell


2017-04-03 02:39:36

by J. Bruce Fields

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the nfsd tree

On Mon, Apr 03, 2017 at 11:09:48AM +1000, Stephen Rothwell wrote:
> Hi,
>
> After merging the nfsd tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> fs/nfsd/nfs4state.c: In function 'copy_cred':
> fs/nfsd/nfs4state.c:1917:6: warning: unused variable 'ret' [-Wunused-variable]
> int ret;
> ^
>
> Introduced by commit
>
> d39662236bf8 ("nfsd4: remove pointless strdup_if_nonnull")
>
> Also, that commit has no Signed-off-by from its Author.

Both fixed, thanks.--b.