Linux NFS development
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: kernel-janitors@vger.kernel.org,
	Trond Myklebust <Trond.Myklebust@netapp.com>,
	linux-nfs@vger.kernel.org
Subject: [nfs:testing 69/83] fs/nfs/nfs4state.c:127:9: error: 'nfs_callback_tcpport' undeclared
Date: Tue, 2 Oct 2012 10:17:18 +0800	[thread overview]
Message-ID: <20121002021718.GB6691@localhost> (raw)

Hi Chuck,

FYI, kernel build failed on

tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head:   2afdfa5a846246de50e1881f71ba5c0aac0b415f
commit: 05f4c350ee02e9461c6ae3a880ea326a06835e37 [69/83] NFS: Discover NFSv4 server trunking when mounting
config: x86_64-allyesconfig

All error/warnings:

fs/nfs/nfs4state.c: In function 'nfs40_discover_server_trunking':
fs/nfs/nfs4state.c:127:9: error: 'nfs_callback_tcpport' undeclared (first use in this function)
fs/nfs/nfs4state.c:127:9: note: each undeclared identifier is reported only once for each function it appears in
fs/nfs/nfs4state.c:129:10: error: 'nfs_callback_tcpport6' undeclared (first use in this function)

vim +127 fs/nfs/nfs4state.c

05f4c350 (Chuck Lever 2012-09-14  115)  */
05f4c350 (Chuck Lever 2012-09-14  116) int nfs40_discover_server_trunking(struct nfs_client *clp,
05f4c350 (Chuck Lever 2012-09-14  117) 				   struct nfs_client **result,
05f4c350 (Chuck Lever 2012-09-14  118) 				   struct rpc_cred *cred)
05f4c350 (Chuck Lever 2012-09-14  119) {
05f4c350 (Chuck Lever 2012-09-14  120) 	struct nfs4_setclientid_res clid = {
05f4c350 (Chuck Lever 2012-09-14  121) 		.clientid = clp->cl_clientid,
05f4c350 (Chuck Lever 2012-09-14  122) 		.confirm = clp->cl_confirm,
05f4c350 (Chuck Lever 2012-09-14  123) 	};
05f4c350 (Chuck Lever 2012-09-14  124) 	unsigned short port;
05f4c350 (Chuck Lever 2012-09-14  125) 	int status;
05f4c350 (Chuck Lever 2012-09-14  126) 
05f4c350 (Chuck Lever 2012-09-14 @127) 	port = nfs_callback_tcpport;
05f4c350 (Chuck Lever 2012-09-14  128) 	if (clp->cl_addr.ss_family == AF_INET6)
05f4c350 (Chuck Lever 2012-09-14  129) 		port = nfs_callback_tcpport6;
05f4c350 (Chuck Lever 2012-09-14  130) 
05f4c350 (Chuck Lever 2012-09-14  131) 	status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, port, cred, &clid);
05f4c350 (Chuck Lever 2012-09-14  132) 	if (status != 0)
05f4c350 (Chuck Lever 2012-09-14  133) 		goto out;

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

             reply	other threads:[~2012-10-02  2:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02  2:17 Fengguang Wu [this message]
2012-10-02  3:32 ` [nfs:testing 69/83] fs/nfs/nfs4state.c:127:9: error: 'nfs_callback_tcpport' undeclared Chuck Lever

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121002021718.GB6691@localhost \
    --to=fengguang.wu@intel.com \
    --cc=Trond.Myklebust@netapp.com \
    --cc=chuck.lever@oracle.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox