public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lockd: trivial sparse endian annotations
@ 2008-07-18  0:41 Harvey Harrison
  2008-07-21  6:42 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Harvey Harrison @ 2008-07-18  0:41 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML, Al Viro

fs/lockd/svcproc.c:115:11: warning: incorrect type in initializer (different base types)
fs/lockd/svcproc.c:115:11:    expected int [signed] rc
fs/lockd/svcproc.c:115:11:    got restricted __be32 [usertype] <noident>
... and so on...

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 fs/lockd/svc4proc.c |    4 ++--
 fs/lockd/svcproc.c  |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/fs/lockd/svc4proc.c b/fs/lockd/svc4proc.c
index 3994446..4a714f6 100644
--- a/fs/lockd/svc4proc.c
+++ b/fs/lockd/svc4proc.c
@@ -83,7 +83,7 @@ nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
 {
 	struct nlm_host	*host;
 	struct nlm_file	*file;
-	int rc = rpc_success;
+	__be32 rc = rpc_success;
 
 	dprintk("lockd: TEST4        called\n");
 	resp->cookie = argp->cookie;
@@ -116,7 +116,7 @@ nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
 {
 	struct nlm_host	*host;
 	struct nlm_file	*file;
-	int rc = rpc_success;
+	__be32 rc = rpc_success;
 
 	dprintk("lockd: LOCK          called\n");
 
diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c
index 76019d2..76262c1 100644
--- a/fs/lockd/svcproc.c
+++ b/fs/lockd/svcproc.c
@@ -112,7 +112,7 @@ nlmsvc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
 {
 	struct nlm_host	*host;
 	struct nlm_file	*file;
-	int rc = rpc_success;
+	__be32 rc = rpc_success;
 
 	dprintk("lockd: TEST          called\n");
 	resp->cookie = argp->cookie;
@@ -146,7 +146,7 @@ nlmsvc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
 {
 	struct nlm_host	*host;
 	struct nlm_file	*file;
-	int rc = rpc_success;
+	__be32 rc = rpc_success;
 
 	dprintk("lockd: LOCK          called\n");
 
-- 
1.5.6.3.569.ga9185




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

* Re: [PATCH] lockd: trivial sparse endian annotations
  2008-07-18  0:41 [PATCH] lockd: trivial sparse endian annotations Harvey Harrison
@ 2008-07-21  6:42 ` Andrew Morton
  2008-07-23 15:45   ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2008-07-21  6:42 UTC (permalink / raw)
  To: Harvey Harrison; +Cc: LKML, Al Viro, J. Bruce Fields

On Thu, 17 Jul 2008 17:41:35 -0700 Harvey Harrison <harvey.harrison@gmail.com> wrote:

> fs/lockd/svcproc.c:115:11: warning: incorrect type in initializer (different base types)
> fs/lockd/svcproc.c:115:11:    expected int [signed] rc
> fs/lockd/svcproc.c:115:11:    got restricted __be32 [usertype] <noident>
> ... and so on...

Bruce handles lockd stuff.  Not that a reader of ./MAINTAINERS would
know this </hint>.

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

* Re: [PATCH] lockd: trivial sparse endian annotations
  2008-07-21  6:42 ` Andrew Morton
@ 2008-07-23 15:45   ` J. Bruce Fields
  0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2008-07-23 15:45 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Harvey Harrison, LKML, Al Viro

On Sun, Jul 20, 2008 at 11:42:11PM -0700, Andrew Morton wrote:
> On Thu, 17 Jul 2008 17:41:35 -0700 Harvey Harrison <harvey.harrison@gmail.com> wrote:
> 
> > fs/lockd/svcproc.c:115:11: warning: incorrect type in initializer (different base types)
> > fs/lockd/svcproc.c:115:11:    expected int [signed] rc
> > fs/lockd/svcproc.c:115:11:    got restricted __be32 [usertype] <noident>
> > ... and so on...
> 
> Bruce handles lockd stuff.

Actually Trond normally handles client-specific lockd code (e.g.
fs/lockd/clnt*.c), though of course I'm happy to triage stuff and pass
it along.

> Not that a reader of ./MAINTAINERS would know this </hint>.

Would this help?

--b.

commit e8b43555a2a8c71e8501924e260f62b9545c598b
Author: J. Bruce Fields <bfields@citi.umich.edu>
Date:   Wed Jul 23 08:49:50 2008 -0400

    MAINTAINERS: mention lockd and sunrpc in nfs entries
    
    The actual division of labor is a little vague in some of the common
    code, but if the patches get to one of us then we can sort it out.
    
    Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

diff --git a/MAINTAINERS b/MAINTAINERS
index 0652ab3..c382ad3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2418,7 +2418,7 @@ L:	kernel-janitors@vger.kernel.org
 W:	http://www.kerneljanitors.org/
 S:	Maintained
 
-KERNEL NFSD
+KERNEL NFSD, SUNRPC, AND LOCKD SERVERS
 P:	J. Bruce Fields
 M:	bfields@fieldses.org
 P:	Neil Brown
@@ -3036,7 +3036,7 @@ M:	ja@ssi.bg
 L:	netdev@vger.kernel.org
 S:	Maintained
 
-NFS CLIENT
+NFS, SUNRPC, AND LOCKD CLIENTS
 P:	Trond Myklebust
 M:	Trond.Myklebust@netapp.com
 L:	linux-nfs@vger.kernel.org

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

end of thread, other threads:[~2008-07-23 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18  0:41 [PATCH] lockd: trivial sparse endian annotations Harvey Harrison
2008-07-21  6:42 ` Andrew Morton
2008-07-23 15:45   ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox