Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1719667 > unrolled thread

linux-next: build failure after merge of the nfsd tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-08-25 02:30 +0200
Last post2017-08-31 18:00 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build failure after merge of the nfsd tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-08-25 02:30 +0200
    Re: linux-next: build failure after merge of the nfsd tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-08-31 01:50 +0200
      Re: linux-next: build failure after merge of the nfsd tree "J. Bruce Fields" <bfields@fieldses.org> - 2017-08-31 18:00 +0200

#1719667 — linux-next: build failure after merge of the nfsd tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-08-25 02:30 +0200
Subjectlinux-next: build failure after merge of the nfsd tree
Message-ID<uiaFA-5hT-1@gated-at.bofh.it>
Hi all,

After merging the nfsd tree, today's linux-next build (x86_64
allmodconfig) failed like this:

fs/nfsd/nfs4proc.c: In function 'nfsd4_getdeviceinfo_release':
fs/nfsd/nfs4proc.c:1356:8: error: 'gdev' undeclared (first use in this function)
  kfree(gdev->gd_device);
        ^
fs/nfsd/nfs4proc.c:1356:8: note: each undeclared identifier is reported only once for each function it appears in
fs/nfsd/nfs4proc.c: At top level:
fs/nfsd/nfs4proc.c:1439:1: warning: return type defaults to 'int' [-Wreturn-type]
 nfsd4_layoutget_release(union nfsd4_op_u *u)
 ^
fs/nfsd/nfs4proc.c: In function 'nfsd4_layoutget_release':
fs/nfsd/nfs4proc.c:1441:8: error: 'lgp' undeclared (first use in this function)
  kfree(lgp->lg_content);
        ^
fs/nfsd/nfs4proc.c: At top level:
fs/nfsd/nfs4proc.c:2405:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   .op_release = nfsd4_layoutget_release,
                 ^
fs/nfsd/nfs4proc.c:2405:17: note: (near initialization for 'nfsd4_ops[50].op_release')
fs/nfsd/nfs4proc.c: In function 'nfsd4_layoutget_release':
fs/nfsd/nfs4proc.c:1442:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

Caused by commit

  93e92e5d0016 ("nfsd4: define ->op_release for compound ops")

I have used the nfsd tree from next-20170824 for today.

-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1723747

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-08-31 01:50 +0200
Message-ID<ukkU9-6oN-11@gated-at.bofh.it>
In reply to#1719667
Hi all,

On Fri, 25 Aug 2017 10:24:20 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the nfsd tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> fs/nfsd/nfs4proc.c: In function 'nfsd4_getdeviceinfo_release':
> fs/nfsd/nfs4proc.c:1356:8: error: 'gdev' undeclared (first use in this function)
>   kfree(gdev->gd_device);
>         ^
> fs/nfsd/nfs4proc.c:1356:8: note: each undeclared identifier is reported only once for each function it appears in
> fs/nfsd/nfs4proc.c: At top level:
> fs/nfsd/nfs4proc.c:1439:1: warning: return type defaults to 'int' [-Wreturn-type]
>  nfsd4_layoutget_release(union nfsd4_op_u *u)
>  ^
> fs/nfsd/nfs4proc.c: In function 'nfsd4_layoutget_release':
> fs/nfsd/nfs4proc.c:1441:8: error: 'lgp' undeclared (first use in this function)
>   kfree(lgp->lg_content);
>         ^
> fs/nfsd/nfs4proc.c: At top level:
> fs/nfsd/nfs4proc.c:2405:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
>    .op_release = nfsd4_layoutget_release,
>                  ^
> fs/nfsd/nfs4proc.c:2405:17: note: (near initialization for 'nfsd4_ops[50].op_release')
> fs/nfsd/nfs4proc.c: In function 'nfsd4_layoutget_release':
> fs/nfsd/nfs4proc.c:1442:1: warning: control reaches end of non-void function [-Wreturn-type]
>  }
>  ^
> 
> Caused by commit
> 
>   93e92e5d0016 ("nfsd4: define ->op_release for compound ops")
> 
> I have used the nfsd tree from next-20170824 for today.

I am still getting this failure.

-- 
Cheers,
Stephen Rothwell

[toc] | [prev] | [next] | [standalone]


#1724375

From"J. Bruce Fields" <bfields@fieldses.org>
Date2017-08-31 18:00 +0200
Message-ID<ukA2S-7ug-17@gated-at.bofh.it>
In reply to#1723747
On Thu, Aug 31, 2017 at 09:48:14AM +1000, Stephen Rothwell wrote:
> On Fri, 25 Aug 2017 10:24:20 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
...
> > fs/nfsd/nfs4proc.c:2405:17: note: (near initialization for 'nfsd4_ops[50].op_release')
> > fs/nfsd/nfs4proc.c: In function 'nfsd4_layoutget_release':
> > fs/nfsd/nfs4proc.c:1442:1: warning: control reaches end of non-void function [-Wreturn-type]
> >  }
> >  ^
> > 
> > Caused by commit
> > 
> >   93e92e5d0016 ("nfsd4: define ->op_release for compound ops")
> > 
> > I have used the nfsd tree from next-20170824 for today.
> 
> I am still getting this failure.

Apologies, it looks like I'd fixed this locally but not pushed it to the
nfsd-next branch.

--b.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web