All of lore.kernel.org
 help / color / mirror / Atom feed
* [nfs:testing 69/83] fs/nfs/nfs4state.c:127:9: error: 'nfs_callback_tcpport' undeclared
@ 2012-10-02  2:17 ` Fengguang Wu
  0 siblings, 0 replies; 4+ messages in thread
From: Fengguang Wu @ 2012-10-02  2:17 UTC (permalink / raw)
  To: Chuck Lever; +Cc: kernel-janitors, Trond Myklebust, linux-nfs

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

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

end of thread, other threads:[~2012-10-02  3:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02  2:17 [nfs:testing 69/83] fs/nfs/nfs4state.c:127:9: error: 'nfs_callback_tcpport' undeclared Fengguang Wu
2012-10-02  2:17 ` Fengguang Wu
2012-10-02  3:32 ` Chuck Lever
2012-10-02  3:32   ` Chuck Lever

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.