All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/24] Turn on the -Wextra compile flag (Take 2)
@ 2010-08-04 15:11 Steve Dickson
  2010-08-04 15:11 ` [PATCH 01/24] Enable extra compile warnings (-Wextra) by default Steve Dickson
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:11 UTC (permalink / raw)
  To: Linux NFS Mailing list

To catch potential during compile time, the -Wextra compile flag
was added to the CFLAGS. The raise the bar like this, with regard to
warnings, will keep the code cleaner in the long run.


Steve Dickson (24):
  Enable extra compile warnings (-Wextra) by default.
  Removed warnings from rpcdispatch.c
  Remove warnings from svc_socket.c
  emove warnings from cacheio.c
  Remove warnings from nfs_mntent.c
  Removed warnings from conffile.c
  Removed warnings from fsloc.c
  Removed warnings from cache.c
  Removed warnings from nfssvc.c
  Removed warnings from nfsstat.c
  Removed warnings from atomicio.c
  Removed warnings from gssd.c
  Removed warnings from gssd_main_loop.c
  Removed warnings from krb5_util.c
  Removed warnings from gssd_proc.c
  Removed warnings from svcgssd.c
  Removed warnings from nfsmount.c
  Removed warnings from nfs4mount.c
  Removed warnings from network.c
  Removed warnings from svcgssd_proc.c
  Removed warnings from configfile.c
  Removed warnings from idmapd.c
  Removed warnings from mountd.c
  Remove warnings from nfsctl.c

 configure.ac                |    2 +-
 support/export/nfsctl.c     |    2 +-
 support/include/nfslib.h    |    7 +++++--
 support/nfs/cacheio.c       |    2 +-
 support/nfs/conffile.c      |    8 ++++----
 support/nfs/nfs_mntent.c    |    2 +-
 support/nfs/rpcdispatch.c   |    4 ++--
 support/nfs/rpcmisc.c       |    2 +-
 support/nfs/svc_socket.c    |    6 +++---
 utils/gssd/gssd.c           |    2 +-
 utils/gssd/gssd_main_loop.c |    2 ++
 utils/gssd/gssd_proc.c      |    8 ++++----
 utils/gssd/krb5_util.c      |   29 +++++++++++++++++++++--------
 utils/gssd/krb5_util.h      |    2 +-
 utils/gssd/svcgssd.c        |    2 +-
 utils/gssd/svcgssd_proc.c   |   12 +++---------
 utils/idmapd/atomicio.c     |    3 ++-
 utils/idmapd/idmapd.c       |   36 ++++++++++++++++++++++++++----------
 utils/mount/configfile.c    |    6 ++++--
 utils/mount/network.c       |    3 ++-
 utils/mount/nfs4mount.c     |    2 +-
 utils/mount/nfsmount.c      |    8 ++++++--
 utils/mountd/cache.c        |   20 ++++++++++----------
 utils/mountd/fsloc.c        |    2 +-
 utils/mountd/fsloc.h        |    2 +-
 utils/mountd/mountd.c       |   14 ++++++++------
 utils/nfsd/nfssvc.c         |    6 +++---
 utils/nfsstat/nfsstat.c     |    6 +++---
 28 files changed, 119 insertions(+), 81 deletions(-)

-- 
1.7.2


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

* [PATCH 01/24] Enable extra compile warnings (-Wextra) by default.
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
@ 2010-08-04 15:11 ` Steve Dickson
  2010-08-04 15:11 ` [PATCH 02/24] Removed warnings from rpcdispatch.c Steve Dickson
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:11 UTC (permalink / raw)
  To: Linux NFS Mailing list

Added -Wextra to the CFLAGS which enables more checking
during compilation, which in turn, will hopefully flag
potential problems before they occur.

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index d90a88f..7c9e61a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -400,7 +400,7 @@ case $host in
     ARCHFLAGS="" ;;
 esac
 
-my_am_cflags="-Wall -Wstrict-prototypes $ARCHFLAGS -pipe"
+my_am_cflags="-Wall -Wextra -Wstrict-prototypes $ARCHFLAGS -pipe"
 
 AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])
 
-- 
1.7.2


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

* [PATCH 02/24] Removed warnings from rpcdispatch.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
  2010-08-04 15:11 ` [PATCH 01/24] Enable extra compile warnings (-Wextra) by default Steve Dickson
@ 2010-08-04 15:11 ` Steve Dickson
  2010-08-04 15:11 ` [PATCH 03/24] Remove warnings from svc_socket.c Steve Dickson
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:11 UTC (permalink / raw)
  To: Linux NFS Mailing list

rpcdispatch.c: In function 'rpc_dispatch':
rpcdispatch.c:30: warning: comparison between signed and unsigned
     integer expressions
rpcdispatch.c:35: warning: comparison between signed and unsigned
     integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nfs/rpcdispatch.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/nfs/rpcdispatch.c b/support/nfs/rpcdispatch.c
index 502fc5f..984c646 100644
--- a/support/nfs/rpcdispatch.c
+++ b/support/nfs/rpcdispatch.c
@@ -27,12 +27,12 @@ rpc_dispatch(struct svc_req *rqstp, SVCXPRT *transp,
 {
 	struct rpc_dentry	*dent;
 
-	if (rqstp->rq_vers > nvers) {
+	if (((int)rqstp->rq_vers) > nvers) {
 		svcerr_progvers(transp, 1, nvers);
 		return;
 	}
 	dtable += (rqstp->rq_vers - 1);
-	if (rqstp->rq_proc > dtable->nproc) {
+	if (((int)rqstp->rq_proc) > dtable->nproc) {
 		svcerr_noproc(transp);
 		return;
 	}
-- 
1.7.2


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

* [PATCH 03/24] Remove warnings from svc_socket.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
  2010-08-04 15:11 ` [PATCH 01/24] Enable extra compile warnings (-Wextra) by default Steve Dickson
  2010-08-04 15:11 ` [PATCH 02/24] Removed warnings from rpcdispatch.c Steve Dickson
@ 2010-08-04 15:11 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 04/24] emove warnings from cacheio.c Steve Dickson
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:11 UTC (permalink / raw)
  To: Linux NFS Mailing list

svc_socket.c: In function 'svcudp_socket':
svc_socket.c:160: warning: unused parameter 'reuse'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/include/nfslib.h |    2 +-
 support/nfs/rpcmisc.c    |    2 +-
 support/nfs/svc_socket.c |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index e44cf8f..b8e7c40 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -158,6 +158,6 @@ void qword_printuint(FILE *f, unsigned int num);
 void closeall(int min);
 
 int			svctcp_socket (u_long __number, int __reuse);
-int			svcudp_socket (u_long __number, int __reuse);
+int			svcudp_socket (u_long __number);
 
 #endif /* NFSLIB_H */
diff --git a/support/nfs/rpcmisc.c b/support/nfs/rpcmisc.c
index a0854e7..b73187a 100644
--- a/support/nfs/rpcmisc.c
+++ b/support/nfs/rpcmisc.c
@@ -154,7 +154,7 @@ rpc_init(char *name, int prog, int vers,
 				sock = makesock(defport, IPPROTO_UDP);
 		}
 		if (sock == RPC_ANYSOCK)
-			sock = svcudp_socket (prog, 1);
+			sock = svcudp_socket (prog);
 		transp = svcudp_create(sock);
 		if (transp == NULL) {
 			xlog(L_FATAL, "cannot create udp service.");
diff --git a/support/nfs/svc_socket.c b/support/nfs/svc_socket.c
index f44217a..03a5325 100644
--- a/support/nfs/svc_socket.c
+++ b/support/nfs/svc_socket.c
@@ -157,9 +157,9 @@ svctcp_socket (u_long number, int reuse)
  * Create and bind a UDP socket based on program number
  */
 int
-svcudp_socket (u_long number, int reuse)
+svcudp_socket (u_long number)
 {
-  return svc_socket (number, SOCK_DGRAM, IPPROTO_UDP, 0);
+  return svc_socket (number, SOCK_DGRAM, IPPROTO_UDP, FALSE);
 }
 
 #ifdef TEST
@@ -174,7 +174,7 @@ check (u_long number, u_short port, int protocol, int reuse)
   if (protocol == IPPROTO_TCP)
     socket = svctcp_socket (number, reuse);
   else
-    socket = svcudp_socket (number, reuse);
+    socket = svcudp_socket (number);
 
   if (socket < 0)
     return 1;
-- 
1.7.2


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

* [PATCH 04/24] emove warnings from cacheio.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (2 preceding siblings ...)
  2010-08-04 15:11 ` [PATCH 03/24] Remove warnings from svc_socket.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 05/24] Remove warnings from nfs_mntent.c Steve Dickson
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

cacheio.c: In function 'cache_flush':
cacheio.c:352: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nfs/cacheio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/support/nfs/cacheio.c b/support/nfs/cacheio.c
index 55fa45d..9bad8e6 100644
--- a/support/nfs/cacheio.c
+++ b/support/nfs/cacheio.c
@@ -349,7 +349,7 @@ cache_flush(int force)
 		sprintf(path, "/proc/net/rpc/%s/flush", cachelist[c]);
 		fd = open(path, O_RDWR);
 		if (fd >= 0) {
-			if (write(fd, stime, strlen(stime)) != strlen(stime)) {
+			if (write(fd, stime, strlen(stime)) != (ssize_t)strlen(stime)) {
 				xlog_warn("Writing to '%s' failed: errno %d (%s)",
 				path, errno, strerror(errno));
 			}
-- 
1.7.2


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

* [PATCH 05/24] Remove warnings from nfs_mntent.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (3 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 04/24] emove warnings from cacheio.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 06/24] Removed warnings from conffile.c Steve Dickson
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

nfs_mntent.c: In function 'mangle':
nfs_mntent.c:36: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nfs/nfs_mntent.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/support/nfs/nfs_mntent.c b/support/nfs/nfs_mntent.c
index a3fecfc..9c73ae0 100644
--- a/support/nfs/nfs_mntent.c
+++ b/support/nfs/nfs_mntent.c
@@ -28,7 +28,7 @@ static char *
 mangle(const char *arg) {
 	const unsigned char *s = (const unsigned char *)arg;
 	char *ss, *sp;
-	int n;
+	unsigned int n;
 
 	n = strlen(arg);
 	ss = sp = xmalloc(4*n+1);
-- 
1.7.2


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

* [PATCH 06/24] Removed warnings from conffile.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (4 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 05/24] Remove warnings from nfs_mntent.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 07/24] Removed warnings from fsloc.c Steve Dickson
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

conffile.c: In function 'conf_parse_line':
conffile.c:301: warning: comparison between signed and unsigned integer expressions

conffile.c: In function 'conf_load_defaults':
conffile.c:356: warning: unused parameter 'tr'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nfs/conffile.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c
index b277c2a..24640f4 100644
--- a/support/nfs/conffile.c
+++ b/support/nfs/conffile.c
@@ -49,7 +49,7 @@
 #include "conffile.h"
 #include "xlog.h"
 
-static void conf_load_defaults (int);
+static void conf_load_defaults(void);
 static int conf_set(int , char *, char *, char *, 
 	char *, int , int );
 
@@ -212,7 +212,7 @@ conf_parse_line(int trans, char *line, size_t sz)
 {
 	char *val, *ptr;
 	size_t i;
-	int j;
+	size_t j;
 	static char *section = 0;
 	static char *arg = 0;
 	static int ln = 0;
@@ -353,7 +353,7 @@ conf_parse(int trans, char *buf, size_t sz)
 }
 
 static void
-conf_load_defaults(int tr)
+conf_load_defaults(void)
 {
 	/* No defaults */
 	return;
@@ -412,7 +412,7 @@ conf_reinit(void)
 		trans = conf_begin();
 
 	/* Load default configuration values.  */
-	conf_load_defaults(trans);
+	conf_load_defaults();
 
 	/* Free potential existing configuration.  */
 	if (conf_addr) {
-- 
1.7.2


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

* [PATCH 07/24] Removed warnings from fsloc.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (5 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 06/24] Removed warnings from conffile.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 08/24] Removed warnings from cache.c Steve Dickson
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

fsloc.c: In function 'replicas_lookup':
fsloc.c:149: warning: unused parameter 'key'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/mountd/cache.c |    2 +-
 utils/mountd/fsloc.c |    2 +-
 utils/mountd/fsloc.h |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
index bf18a9a..5488056 100644
--- a/utils/mountd/cache.c
+++ b/utils/mountd/cache.c
@@ -600,7 +600,7 @@ static void write_fsloc(FILE *f, struct exportent *ep, char *path)
 	if (ep->e_fslocmethod == FSLOC_NONE)
 		return;
 
-	servers = replicas_lookup(ep->e_fslocmethod, ep->e_fslocdata, path);
+	servers = replicas_lookup(ep->e_fslocmethod, ep->e_fslocdata);
 	if (!servers)
 		return;
 	qword_print(f, "fsloc");
diff --git a/utils/mountd/fsloc.c b/utils/mountd/fsloc.c
index 5b094b0..e2add2d 100644
--- a/utils/mountd/fsloc.c
+++ b/utils/mountd/fsloc.c
@@ -146,7 +146,7 @@ static struct servers *method_list(char *data)
 }
 
 /* Returns appropriately filled struct servers, or NULL if had a problem */
-struct servers *replicas_lookup(int method, char *data, char *key)
+struct servers *replicas_lookup(int method, char *data)
 {
 	struct servers *sp=NULL;
 	switch(method) {
diff --git a/utils/mountd/fsloc.h b/utils/mountd/fsloc.h
index 8296d1c..1605df4 100644
--- a/utils/mountd/fsloc.h
+++ b/utils/mountd/fsloc.h
@@ -44,7 +44,7 @@ struct servers {
 	int h_referral;		/* 0=replica, 1=referral */
 };
 
-struct servers *replicas_lookup(int method, char *data, char *key);
+struct servers *replicas_lookup(int method, char *data);
 void release_replicas(struct servers *server);
 
 #endif /* FSLOC_H */
-- 
1.7.2


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

* [PATCH 08/24] Removed warnings from cache.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (6 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 07/24] Removed warnings from fsloc.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 09/24] Removed warnings from nfssvc.c Steve Dickson
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

cache.c:812: warning: missing initializer
cache.c:812: warning: (near initialization for 'cachelist[0].f')
cache.c:813: warning: missing initializer
cache.c:813: warning: (near initialization for 'cachelist[1].f')
cache.c:814: warning: missing initializer
cache.c:814: warning: (near initialization for 'cachelist[2].f')
cache.c:815: warning: missing initializer
cache.c:815: warning: (near initialization for 'cachelist[3].f')
cache.c:816: warning: missing initializer
cache.c:816: warning: (near initialization for 'cachelist[4].f')
cache.c: In function 'cache_export_ent':
cache.c:887: warning: comparison between signed and unsigned integer expressions
cache.c:907: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/include/nfslib.h |    2 +-
 utils/mountd/cache.c     |   18 +++++++++---------
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index b8e7c40..f57f2e2 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -83,7 +83,7 @@ struct exportent {
 	int		e_nsquids;
 	int *		e_sqgids;
 	int		e_nsqgids;
-	int		e_fsid;
+	unsigned int	e_fsid;
 	char *		e_mountpoint;
 	int             e_fslocmethod;
 	char *          e_fslocdata;
diff --git a/utils/mountd/cache.c b/utils/mountd/cache.c
index 5488056..2909ad3 100644
--- a/utils/mountd/cache.c
+++ b/utils/mountd/cache.c
@@ -593,7 +593,7 @@ void nfsd_fh(FILE *f)
 	return;		
 }
 
-static void write_fsloc(FILE *f, struct exportent *ep, char *path)
+static void write_fsloc(FILE *f, struct exportent *ep)
 {
 	struct servers *servers;
 
@@ -648,7 +648,7 @@ static int dump_to_cache(FILE *f, char *domain, char *path, struct exportent *ex
 		qword_printint(f, exp->e_anonuid);
 		qword_printint(f, exp->e_anongid);
 		qword_printint(f, exp->e_fsid);
-		write_fsloc(f, exp, path);
+		write_fsloc(f, exp);
 		write_secinfo(f, exp, flag_mask);
  		if (exp->e_uuid == NULL || different_fs) {
  			char u[16];
@@ -809,11 +809,11 @@ struct {
 	void (*cache_handle)(FILE *f);
 	FILE *f;
 } cachelist[] = {
-	{ "auth.unix.ip", auth_unix_ip},
-	{ "auth.unix.gid", auth_unix_gid},
-	{ "nfsd.export", nfsd_export},
-	{ "nfsd.fh", nfsd_fh},
-	{ NULL, NULL }
+	{ "auth.unix.ip", auth_unix_ip, NULL},
+	{ "auth.unix.gid", auth_unix_gid, NULL},
+	{ "nfsd.export", nfsd_export, NULL},
+	{ "nfsd.fh", nfsd_fh, NULL},
+	{ NULL, NULL, NULL }
 };
 
 extern int manage_gids;
@@ -881,8 +881,8 @@ int cache_export_ent(char *domain, struct exportent *exp, char *path)
 		 * and export them with the same options
 		 */
 		struct stat stb;
-		int l = strlen(exp->e_path);
-		int dev;
+		size_t l = strlen(exp->e_path);
+		__dev_t dev;
 
 		if (strlen(path) <= l || path[l] != '/' ||
 		    strncmp(exp->e_path, path, l) != 0)
-- 
1.7.2


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

* [PATCH 09/24] Removed warnings from nfssvc.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (7 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 08/24] Removed warnings from cache.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 10/24] Removed warnings from nfsstat.c Steve Dickson
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

nfssvc.c:184: warning: comparison between signed and unsigned integer expressions
nfssvc.c: In function 'nfssvc_setvers':
nfssvc.c:254: warning: comparison between signed and unsigned integer expressions
nfssvc.c: In function 'nfssvc_threads':
nfssvc.c:280: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/nfsd/nfssvc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/nfsd/nfssvc.c b/utils/nfsd/nfssvc.c
index 60232b8..34c67ca 100644
--- a/utils/nfsd/nfssvc.c
+++ b/utils/nfsd/nfssvc.c
@@ -181,7 +181,7 @@ nfssvc_setfds(const struct addrinfo *hints, const char *node, const char *port)
 		}
 
 		snprintf(buf, sizeof(buf), "%d\n", sockfd); 
-		if (write(fd, buf, strlen(buf)) != strlen(buf)) {
+		if (write(fd, buf, strlen(buf)) != (ssize_t)strlen(buf)) {
 			/*
 			 * this error may be common on older kernels that don't
 			 * support IPv6, so turn into a debug message.
@@ -251,7 +251,7 @@ nfssvc_setvers(unsigned int ctlbits, int minorvers4)
 	}
 	xlog(D_GENERAL, "Writing version string to kernel: %s", buf);
 	snprintf(ptr+off, sizeof(buf) - off, "\n");
-	if (write(fd, buf, strlen(buf)) != strlen(buf))
+	if (write(fd, buf, strlen(buf)) != (ssize_t)strlen(buf))
 		xlog(L_ERROR, "Setting version failed: errno %d (%m)", errno);
 
 	close(fd);
@@ -277,7 +277,7 @@ nfssvc_threads(unsigned short port, const int nrservs)
 		snprintf(buf, sizeof(buf), "%d\n", nrservs);
 		n = write(fd, buf, strlen(buf));
 		close(fd);
-		if (n != strlen(buf))
+		if (n != (ssize_t)strlen(buf))
 			return -1;
 		else
 			return 0;
-- 
1.7.2


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

* [PATCH 10/24] Removed warnings from nfsstat.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (8 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 09/24] Removed warnings from nfssvc.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 11/24] Removed warnings from atomicio.c Steve Dickson
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

nfsstat.c: In function 'print_callstats':
nfsstat.c:797: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:801: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:802: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:805: warning: comparison between signed and unsigned integer
expressions

nfsstat.c: In function 'print_callstats_list':
nfsstat.c:821: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:828: warning: comparison between signed and unsigned integer
expressions

nfsstat.c: In function 'unpause':
nfsstat.c:1111: warning: unused parameter 'sig'
Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/nfsstat/nfsstat.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c
index 99d77c9..740a803 100644
--- a/utils/nfsstat/nfsstat.c
+++ b/utils/nfsstat/nfsstat.c
@@ -791,7 +791,7 @@ print_callstats(const char *hdr, const char **names,
 {
 	unsigned long long	total;
 	unsigned long long	pct;
-	int		i, j;
+	unsigned int		i, j;
 
 	fputs(hdr, stdout);
 	for (i = 0, total = 0; i < nr; i++)
@@ -816,7 +816,7 @@ print_callstats_list(const char *hdr, const char **names,
 		 	unsigned int *callinfo, unsigned int nr)
 {
 	unsigned long long	calltotal;
-	int			i;
+	unsigned int			i;
 
 	for (i = 0, calltotal = 0; i < nr; i++) {
 		calltotal += callinfo[i];
@@ -1118,7 +1118,7 @@ unpause(int sig)
 	time_diff = difftime(endtime, starttime);
 	minutes = time_diff / 60;
 	seconds = (int)time_diff % 60;
-	printf("Signal received; displaying (only) statistics gathered over the last %d minutes, %d seconds:\n\n", minutes, seconds);
+	printf("Signal %d received; displaying (only) statistics gathered over the last %d minutes, %d seconds:\n\n", sig, minutes, seconds);
 }
 
 static void
-- 
1.7.2


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

* [PATCH 11/24] Removed warnings from atomicio.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (9 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 10/24] Removed warnings from nfsstat.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 12/24] Removed warnings from gssd.c Steve Dickson
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

atomicio.c: In function 'atomicio':
atomicio.c:48: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/idmapd/atomicio.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/utils/idmapd/atomicio.c b/utils/idmapd/atomicio.c
index 05e7147..1fb1ff9 100644
--- a/utils/idmapd/atomicio.c
+++ b/utils/idmapd/atomicio.c
@@ -43,7 +43,8 @@ atomicio(
 	size_t n)
 {
 	char *s = _s;
-	ssize_t res, pos = 0;
+	ssize_t res;
+	size_t pos = 0;
 
 	while (n > pos) {
 		res = (f) (fd, s + pos, n - pos);
-- 
1.7.2


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

* [PATCH 12/24] Removed warnings from gssd.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (10 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 11/24] Removed warnings from atomicio.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 13/24] Removed warnings from gssd_main_loop.c Steve Dickson
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

gssd.c: In function 'sig_hup':
gssd.c:78: warning: unused parameter 'signal'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/gssd/gssd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/gssd/gssd.c b/utils/gssd/gssd.c
index bd37a5f..ccadb07 100644
--- a/utils/gssd/gssd.c
+++ b/utils/gssd/gssd.c
@@ -78,7 +78,7 @@ void
 sig_hup(int signal)
 {
 	/* don't exit on SIGHUP */
-	printerr(1, "Received SIGHUP... Ignoring.\n");
+	printerr(1, "Received SIGHUP(%d)... Ignoring.\n", signal);
 	return;
 }
 
-- 
1.7.2


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

* [PATCH 13/24] Removed warnings from gssd_main_loop.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (11 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 12/24] Removed warnings from gssd.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 14/24] Removed warnings from krb5_util.c Steve Dickson
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

gssd_main_loop.c: In function 'dir_notify_handler':
gssd_main_loop.c:64: warning: unused parameter 'sig'
gssd_main_loop.c:64: warning: unused parameter 'si'
gssd_main_loop.c:64: warning: unused parameter 'data'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/gssd/gssd_main_loop.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/utils/gssd/gssd_main_loop.c b/utils/gssd/gssd_main_loop.c
index f1a68d3..b06c223 100644
--- a/utils/gssd/gssd_main_loop.c
+++ b/utils/gssd/gssd_main_loop.c
@@ -63,6 +63,8 @@ static volatile int dir_changed = 1;
 
 static void dir_notify_handler(int sig, siginfo_t *si, void *data)
 {
+	printerr(2, "dir_notify_handler: sig %d si %p data %p\n", sig, si, data);
+
 	dir_changed = 1;
 }
 
-- 
1.7.2


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

* [PATCH 14/24] Removed warnings from krb5_util.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (12 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 13/24] Removed warnings from gssd_main_loop.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 15/24] Removed warnings from gssd_proc.c Steve Dickson
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

krb5_util.c: In function 'realm_and_service_match':
krb5_util.c:617: warning: unused parameter 'context'
krb5_util.c: In function 'limit_krb5_enctypes':
krb5_util.c:1275: warning: unused parameter 'uid'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/gssd/gssd_proc.c |    2 +-
 utils/gssd/krb5_util.c |   29 +++++++++++++++++++++--------
 utils/gssd/krb5_util.h |    2 +-
 3 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index a55418b..3902b95 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -859,7 +859,7 @@ int create_auth_rpc_client(struct clnt_info *clp,
 		 * Do this before creating rpc connection since we won't need
 		 * rpc connection if it fails!
 		 */
-		if (limit_krb5_enctypes(&sec, uid)) {
+		if (limit_krb5_enctypes(&sec)) {
 			printerr(1, "WARNING: Failed while limiting krb5 "
 				    "encryption types for user with uid %d\n",
 				 uid);
diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
index d23654f..f071600 100644
--- a/utils/gssd/krb5_util.c
+++ b/utils/gssd/krb5_util.c
@@ -613,24 +613,32 @@ out:
  * and has *any* instance (hostname), return 1.
  * Otherwise return 0, indicating no match.
  */
+#ifdef HAVE_KRB5
 static int
-realm_and_service_match(krb5_context context, krb5_principal p,
-			const char *realm, const char *service)
+realm_and_service_match(krb5_principal p, const char *realm, const char *service)
 {
-#ifdef HAVE_KRB5
 	/* Must have two components */
 	if (p->length != 2)
 		return 0;
+
 	if ((strlen(realm) == p->realm.length)
 	    && (strncmp(realm, p->realm.data, p->realm.length) == 0)
 	    && (strlen(service) == p->data[0].length)
 	    && (strncmp(service, p->data[0].data, p->data[0].length) == 0))
 		return 1;
+
+	return 0;
+}
 #else
+static int
+realm_and_service_match(krb5_context context, krb5_principal p,
+			const char *realm, const char *service)
+{
 	const char *name, *inst;
 
 	if (p->name.name_string.len != 2)
 		return 0;
+
 	name = krb5_principal_get_comp_string(context, p, 0);
 	inst = krb5_principal_get_comp_string(context, p, 1);
 	if (name == NULL || inst == NULL)
@@ -638,9 +646,10 @@ realm_and_service_match(krb5_context context, krb5_principal p,
 	if ((strcmp(realm, p->realm) == 0)
 	    && (strcmp(service, name) == 0))
 		return 1;
-#endif
+
 	return 0;
 }
+#endif
 
 /*
  * Search the given keytab file looking for an entry with the given
@@ -662,7 +671,7 @@ gssd_search_krb5_keytab(krb5_context context, krb5_keytab kt,
 	krb5_kt_cursor cursor;
 	krb5_error_code code;
 	struct gssd_k5_kt_princ *ple;
-	int retval = -1;
+	int retval = -1, status;
 	char kt_name[BUFSIZ];
 	char *pname;
 	char *k5err = NULL;
@@ -705,8 +714,12 @@ gssd_search_krb5_keytab(krb5_context context, krb5_keytab kt,
 		printerr(4, "Processing keytab entry for principal '%s'\n",
 			 pname);
 		/* Use the first matching keytab entry found */
-	        if ((realm_and_service_match(context, kte->principal, realm,
-					     service))) {
+#ifdef HAVE_KRB5
+		status = realm_and_service_match(kte->principal, realm, service);
+#else
+		status = realm_and_service_match(context, kte->principal, realm, service);
+#endif
+		if (status) {
 			printerr(4, "We WILL use this entry (%s)\n", pname);
 			ple = get_ple_by_princ(context, kte->principal);
 			/*
@@ -1272,7 +1285,7 @@ gssd_k5_get_default_realm(char **def_realm)
  */
 
 int
-limit_krb5_enctypes(struct rpc_gss_sec *sec, uid_t uid)
+limit_krb5_enctypes(struct rpc_gss_sec *sec)
 {
 	u_int maj_stat, min_stat;
 	gss_cred_id_t credh;
diff --git a/utils/gssd/krb5_util.h b/utils/gssd/krb5_util.h
index 4602cc3..b42b91e 100644
--- a/utils/gssd/krb5_util.h
+++ b/utils/gssd/krb5_util.h
@@ -36,7 +36,7 @@ char *gssd_k5_err_msg(krb5_context context, krb5_error_code code);
 void gssd_k5_get_default_realm(char **def_realm);
 
 #ifdef HAVE_SET_ALLOWABLE_ENCTYPES
-int limit_krb5_enctypes(struct rpc_gss_sec *sec, uid_t uid);
+int limit_krb5_enctypes(struct rpc_gss_sec *sec);
 #endif
 
 /*
-- 
1.7.2


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

* [PATCH 15/24] Removed warnings from gssd_proc.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (13 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 14/24] Removed warnings from krb5_util.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 16/24] Removed warnings from svcgssd.c Steve Dickson
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

gssd_proc.c: In function 'create_auth_rpc_client':
gssd_proc.c:939: warning: comparison between signed and unsigned integer expressions
gssd_proc.c:939: warning: comparison between signed and unsigned integer expressions
gssd_proc.c: In function 'handle_krb5_upcall':
gssd_proc.c:1164: warning: comparison between signed and unsigned integer expressions
gssd_proc.c: In function 'handle_spkm3_upcall':
gssd_proc.c:1178: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/gssd/gssd_proc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index 3902b95..c301d46 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -936,7 +936,7 @@ int create_auth_rpc_client(struct clnt_info *clp,
 	if (sec.cred != GSS_C_NO_CREDENTIAL)
 		gss_release_cred(&min_stat, &sec.cred);
 	/* Restore euid to original value */
-	if ((save_uid != -1) && (setfsuid(save_uid) != uid)) {
+	if (((int)save_uid != -1) && (setfsuid(save_uid) != (int)uid)) {
 		printerr(0, "WARNING: Failed to restore fsuid"
 			    " to uid %d from %d\n", save_uid, uid);
 	}
@@ -1161,7 +1161,7 @@ handle_krb5_upcall(struct clnt_info *clp)
 {
 	uid_t			uid;
 
-	if (read(clp->krb5_fd, &uid, sizeof(uid)) < sizeof(uid)) {
+	if (read(clp->krb5_fd, &uid, sizeof(uid)) < (ssize_t)sizeof(uid)) {
 		printerr(0, "WARNING: failed reading uid from krb5 "
 			    "upcall pipe: %s\n", strerror(errno));
 		return;
@@ -1175,7 +1175,7 @@ handle_spkm3_upcall(struct clnt_info *clp)
 {
 	uid_t			uid;
 
-	if (read(clp->spkm3_fd, &uid, sizeof(uid)) < sizeof(uid)) {
+	if (read(clp->spkm3_fd, &uid, sizeof(uid)) < (ssize_t)sizeof(uid)) {
 		printerr(0, "WARNING: failed reading uid from spkm3 "
 			 "upcall pipe: %s\n", strerror(errno));
 		return;
-- 
1.7.2


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

* [PATCH 16/24] Removed warnings from svcgssd.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (14 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 15/24] Removed warnings from gssd_proc.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 17/24] Removed warnings from nfsmount.c Steve Dickson
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

svcgssd.c: In function 'sig_hup':
svcgssd.c:160: warning: unused parameter 'signal'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/gssd/svcgssd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/gssd/svcgssd.c b/utils/gssd/svcgssd.c
index 729b6a6..e7375a4 100644
--- a/utils/gssd/svcgssd.c
+++ b/utils/gssd/svcgssd.c
@@ -160,7 +160,7 @@ void
 sig_hup(int signal)
 {
 	/* don't exit on SIGHUP */
-	printerr(1, "Received SIGHUP... Ignoring.\n");
+	printerr(1, "Received SIGHUP(%d)... Ignoring.\n", signal);
 	return;
 }
 
-- 
1.7.2


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

* [PATCH 17/24] Removed warnings from nfsmount.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (15 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 16/24] Removed warnings from svcgssd.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 18/24] Removed warnings from nfs4mount.c Steve Dickson
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

nfsmount.c: In function 'nfsmount':
nfsmount.c:513: warning: missing initializer
nfsmount.c:513: warning: (near initialization for 'mnt_server.saddr')
nfsmount.c:514: warning: missing initializer
nfsmount.c:514: warning: (near initialization for 'nfs_server.saddr')

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/mount/nfsmount.c |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/utils/mount/nfsmount.c b/utils/mount/nfsmount.c
index 6b3356c..5b934b5 100644
--- a/utils/mount/nfsmount.c
+++ b/utils/mount/nfsmount.c
@@ -510,8 +510,12 @@ nfsmount(const char *spec, const char *node, int flags,
 	int val;
 	static int doonce = 0;
 
-	clnt_addr_t mnt_server = { &mounthost, };
-	clnt_addr_t nfs_server = { &hostname, };
+	clnt_addr_t mnt_server = { 
+		.hostname = &mounthost 
+	};
+	clnt_addr_t nfs_server = { 
+		.hostname = &hostname 
+	};
 	struct sockaddr_in *nfs_saddr = &nfs_server.saddr;
 	struct pmap  *mnt_pmap = &mnt_server.pmap,
 		     *nfs_pmap = &nfs_server.pmap;
-- 
1.7.2


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

* [PATCH 18/24] Removed warnings from nfs4mount.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (16 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 17/24] Removed warnings from nfsmount.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 19/24] Removed warnings from network.c Steve Dickson
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

nfs4mount.c: In function 'fill_ipv4_sockaddr':
nfs4mount.c:149: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/mount/nfs4mount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/mount/nfs4mount.c b/utils/mount/nfs4mount.c
index 4a2fab7..028e7cd 100644
--- a/utils/mount/nfs4mount.c
+++ b/utils/mount/nfs4mount.c
@@ -146,7 +146,7 @@ static int fill_ipv4_sockaddr(const char *hostname, struct sockaddr_in *addr)
 				progname, hostname);
 		return -1;
 	}
-	if (hp->h_length > sizeof(struct in_addr)) {
+	if (hp->h_length > (int)sizeof(struct in_addr)) {
 		nfs_error(_("%s: got bad hp->h_length"), progname);
 		hp->h_length = sizeof(struct in_addr);
 	}
-- 
1.7.2


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

* [PATCH 19/24] Removed warnings from network.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (17 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 18/24] Removed warnings from nfs4mount.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 20/24] Removed warnings from svcgssd_proc.c Steve Dickson
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

network.c: In function 'nfs_verify_family':
network.c:1366: warning: unused parameter 'family'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/include/nfslib.h |    3 +++
 utils/mount/network.c    |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index f57f2e2..af242d3 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -160,4 +160,7 @@ void closeall(int min);
 int			svctcp_socket (u_long __number, int __reuse);
 int			svcudp_socket (u_long __number);
 
+
+#define UNUSED(x) UNUSED_ ## x __attribute__((unused))
+
 #endif /* NFSLIB_H */
diff --git a/utils/mount/network.c b/utils/mount/network.c
index ffb18ab..d6b5205 100644
--- a/utils/mount/network.c
+++ b/utils/mount/network.c
@@ -53,6 +53,7 @@
 #include "parse_opt.h"
 #include "network.h"
 #include "conffile.h"
+#include "nfslib.h"
 
 #define PMAP_TIMEOUT	(10)
 #define CONNECT_TIMEOUT	(20)
@@ -1363,7 +1364,7 @@ nfs_nfs_port(struct mount_options *options, unsigned long *port)
 sa_family_t	config_default_family = AF_UNSPEC;
 
 static int
-nfs_verify_family(sa_family_t family)
+nfs_verify_family(sa_family_t UNUSED(family))
 {
 	return 1;
 }
-- 
1.7.2


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

* [PATCH 20/24] Removed warnings from svcgssd_proc.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (18 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 19/24] Removed warnings from network.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 21/24] Removed warnings from configfile.c Steve Dickson
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

svcgssd_proc.c: In function 'send_response':
svcgssd_proc.c:135: warning: unused parameter 'f'
svcgssd_proc.c: In function 'handle_nullreq':
svcgssd_proc.c:434: warning: comparison of unsigned expression < 0 is always false

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/gssd/svcgssd_proc.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/utils/gssd/svcgssd_proc.c b/utils/gssd/svcgssd_proc.c
index f1bfbef..3894078 100644
--- a/utils/gssd/svcgssd_proc.c
+++ b/utils/gssd/svcgssd_proc.c
@@ -132,7 +132,7 @@ struct gss_verifier {
 #define RPCSEC_GSS_SEQ_WIN	5
 
 static int
-send_response(FILE *f, gss_buffer_desc *in_handle, gss_buffer_desc *in_token,
+send_response(gss_buffer_desc *in_handle, gss_buffer_desc *in_token,
 	      u_int32_t maj_stat, u_int32_t min_stat,
 	      gss_buffer_desc *out_handle, gss_buffer_desc *out_token)
 {
@@ -431,12 +431,6 @@ handle_nullreq(FILE *f) {
 	print_hexl("in_tok", in_tok.value, in_tok.length);
 #endif
 
-	if (in_tok.length < 0) {
-		printerr(0, "WARNING: handle_nullreq: "
-			    "failed parsing request\n");
-		goto out_err;
-	}
-
 	if (in_handle.length != 0) { /* CONTINUE_INIT case */
 		if (in_handle.length != sizeof(ctx)) {
 			printerr(0, "WARNING: handle_nullreq: "
@@ -498,7 +492,7 @@ handle_nullreq(FILE *f) {
 	do_svc_downcall(&out_handle, &cred, mech, &ctx_token, ctx_endtime,
 			hostbased_name);
 continue_needed:
-	send_response(f, &in_handle, &in_tok, maj_stat, min_stat,
+	send_response(&in_handle, &in_tok, maj_stat, min_stat,
 			&out_handle, &out_tok);
 out:
 	if (ctx_token.value != NULL)
@@ -514,7 +508,7 @@ out:
 out_err:
 	if (ctx != GSS_C_NO_CONTEXT)
 		gss_delete_sec_context(&ignore_min_stat, &ctx, &ignore_out_tok);
-	send_response(f, &in_handle, &in_tok, maj_stat, min_stat,
+	send_response(&in_handle, &in_tok, maj_stat, min_stat,
 			&null_token, &null_token);
 	goto out;
 }
-- 
1.7.2


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

* [PATCH 21/24] Removed warnings from configfile.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (19 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 20/24] Removed warnings from svcgssd_proc.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 22/24] Removed warnings from idmapd.c Steve Dickson
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

configfile.c:195: warning: 'inline' is not at beginning of declaration
configfile.c:232: warning: 'inline' is not at beginning of declaration

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/mount/configfile.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/utils/mount/configfile.c b/utils/mount/configfile.c
index 5cff009..6f2ee75 100644
--- a/utils/mount/configfile.c
+++ b/utils/mount/configfile.c
@@ -192,7 +192,8 @@ void free_all(void)
 	}
 }
 static char *versions[] = {"v2", "v3", "v4", "vers", "nfsvers", NULL};
-int inline check_vers(char *mopt, char *field)
+static int 
+check_vers(char *mopt, char *field)
 {
 	int i, found=0;
 
@@ -229,7 +230,8 @@ extern sa_family_t config_default_family;
  * If so, set the appropriate global value which will 
  * be used as the initial value in the server negation.
  */
-int inline default_value(char *mopt)
+static int 
+default_value(char *mopt)
 {
 	struct mount_options *options = NULL;
 	int dftlen = strlen("default");
-- 
1.7.2


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

* [PATCH 22/24] Removed warnings from idmapd.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (20 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 21/24] Removed warnings from configfile.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 23/24] Removed warnings from mountd.c Steve Dickson
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

idmapd.c:120: warning: missing initializer
idmapd.c:120: warning: (near initialization for 'nfsd_ic[0].ic_event')
idmapd.c:121: warning: missing initializer
idmapd.c:121: warning: (near initialization for 'nfsd_ic[1].ic_event')
idmapd.c: In function 'flush_nfsd_cache':
idmapd.c:173: warning: comparison between signed and unsigned integer expressions
idmapd.c: In function 'dirscancb':
idmapd.c:384: warning: unused parameter 'fd'
idmapd.c:384: warning: unused parameter 'which'
idmapd.c: In function 'svrreopen':
idmapd.c:468: warning: unused parameter 'fd'
idmapd.c:468: warning: unused parameter 'which'
idmapd.c:468: warning: unused parameter 'data'
idmapd.c: In function 'clntscancb':
idmapd.c:474: warning: unused parameter 'fd'
idmapd.c:474: warning: unused parameter 'which'
idmapd.c: In function 'nfsdcb':
idmapd.c:488: warning: unused parameter 'fd'
idmapd.c: In function 'nfscb':
idmapd.c:663: warning: unused parameter 'fd'
idmapd.c: In function 'validateascii':
idmapd.c:850: warning: comparison between signed and unsigned integer expressions
idmapd.c:858: warning: comparison between signed and unsigned integer expressions
idmapd.c: In function 'getfield':
idmapd.c:916: warning: comparison between signed and unsigned integer expressions

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/idmapd/idmapd.c |   36 ++++++++++++++++++++++++++----------
 1 files changed, 26 insertions(+), 10 deletions(-)

diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c
index 573abaa..9ecab66 100644
--- a/utils/idmapd/idmapd.c
+++ b/utils/idmapd/idmapd.c
@@ -117,8 +117,24 @@ struct idmap_client {
 	TAILQ_ENTRY(idmap_client)  ic_next;
 };
 static struct idmap_client nfsd_ic[2] = {
-{IC_IDNAME, "Server", "", IC_IDNAME_CHAN, -1, -1, 0},
-{IC_NAMEID, "Server", "", IC_NAMEID_CHAN, -1, -1, 0},
+{
+	.ic_which = IC_IDNAME, 
+	.ic_clid = "Server", 
+	.ic_id = "", 
+	.ic_path = IC_IDNAME_CHAN, 
+	.ic_fd = -1, 
+	.ic_dirfd = -1, 
+	.ic_scanned = 0
+},
+{
+	.ic_which = IC_NAMEID, 
+	.ic_clid = "Server", 
+	.ic_id = "", 
+	.ic_path = IC_NAMEID_CHAN, 
+	.ic_fd = -1, 
+	.ic_dirfd = -1, 
+	.ic_scanned = 0
+},
 };
 
 TAILQ_HEAD(idmap_clientq, idmap_client);
@@ -170,7 +186,7 @@ flush_nfsd_cache(char *path, time_t now)
 	fd = open(path, O_RDWR);
 	if (fd == -1)
 		return -1;
-	if (write(fd, stime, strlen(stime)) != strlen(stime)) {
+	if (write(fd, stime, strlen(stime)) != (ssize_t)strlen(stime)) {
 		errx(1, "Flushing nfsd cache failed: errno %d (%s)",
 			errno, strerror(errno));
 	}
@@ -381,7 +397,7 @@ main(int argc, char **argv)
 }
 
 static void
-dirscancb(int fd, short which, void *data)
+dirscancb(int UNUSED(fd), short UNUSED(which), void *data)
 {
 	int nent, i;
 	struct dirent **ents;
@@ -465,13 +481,13 @@ out:
 }
 
 static void
-svrreopen(int fd, short which, void *data)
+svrreopen(int UNUSED(fd), short UNUSED(which), void *UNUSED(data))
 {
 	nfsdreopen();
 }
 
 static void
-clntscancb(int fd, short which, void *data)
+clntscancb(int UNUSED(fd), short UNUSED(which), void *data)
 {
 	struct idmap_clientq *icq = data;
 	struct idmap_client *ic;
@@ -485,7 +501,7 @@ clntscancb(int fd, short which, void *data)
 }
 
 static void
-nfsdcb(int fd, short which, void *data)
+nfsdcb(int UNUSED(fd), short which, void *data)
 {
 	struct idmap_client *ic = data;
 	struct idmap_msg im;
@@ -660,7 +676,7 @@ imconv(struct idmap_client *ic, struct idmap_msg *im)
 }
 
 static void
-nfscb(int fd, short which, void *data)
+nfscb(int UNUSED(fd), short which, void *data)
 {
 	struct idmap_client *ic = data;
 	struct idmap_msg im;
@@ -845,7 +861,7 @@ nametoidres(struct idmap_msg *im)
 static int
 validateascii(char *string, u_int32_t len)
 {
-	int i;
+	u_int32_t i;
 
 	for (i = 0; i < len; i++) {
 		if (string[i] == '\0')
@@ -901,7 +917,7 @@ static int
 getfield(char **bpp, char *fld, size_t fldsz)
 {
 	char *bp;
-	u_int val, n;
+	int val, n;
 
 	while ((bp = strsep(bpp, " ")) != NULL && bp[0] == '\0')
 		;
-- 
1.7.2


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

* [PATCH 23/24] Removed warnings from mountd.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (21 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 22/24] Removed warnings from idmapd.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-04 15:12 ` [PATCH 24/24] Remove warnings from nfsctl.c Steve Dickson
  2010-08-09 14:00 ` [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

mountd.c: In function 'mount_null_1_svc':
mountd.c:195: warning: unused parameter 'rqstp'
mountd.c:195: warning: unused parameter 'argp'
mountd.c:195: warning: unused parameter 'resp'
mountd.c: In function 'mount_dump_1_svc':
mountd.c:213: warning: unused parameter 'argp'
mountd.c: In function 'mount_umnt_1_svc':
mountd.c:224: warning: unused parameter 'resp'
mountd.c: In function 'mount_umntall_1_svc':
mountd.c:248: warning: unused parameter 'argp'
mountd.c:248: warning: unused parameter 'resp'
mountd.c: In function 'mount_export_1_svc':
mountd.c:258: warning: unused parameter 'argp'
mountd.c: In function 'mount_exportall_1_svc':
mountd.c:269: warning: unused parameter 'argp'
mountd.c: In function 'mount_dump_1_svc':
mountd.c:216: warning: unused parameter 'argp'
mountd.c: In function 'mount_umnt_1_svc':
mountd.c:227: warning: unused parameter 'resp'
mountd.c: In function 'mount_umntall_1_svc':
mountd.c:251: warning: unused parameter 'argp'
mountd.c:251: warning: unused parameter 'resp'
mountd.c: In function 'mount_export_1_svc':
mountd.c:261: warning: unused parameter 'argp'
mountd.c: In function 'mount_exportall_1_svc':
mountd.c:272: warning: unused parameter 'argp'

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/mountd/mountd.c |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/utils/mountd/mountd.c b/utils/mountd/mountd.c
index 6571454..dc84404 100644
--- a/utils/mountd/mountd.c
+++ b/utils/mountd/mountd.c
@@ -192,7 +192,8 @@ sig_hup (int sig)
 }
 
 bool_t
-mount_null_1_svc(struct svc_req *rqstp, void *argp, void *resp)
+mount_null_1_svc(struct svc_req *UNUSED(rqstp), void *UNUSED(argp), 
+	void *UNUSED(resp))
 {
 	return 1;
 }
@@ -210,7 +211,7 @@ mount_mnt_1_svc(struct svc_req *rqstp, dirpath *path, fhstatus *res)
 }
 
 bool_t
-mount_dump_1_svc(struct svc_req *rqstp, void *argp, mountlist *res)
+mount_dump_1_svc(struct svc_req *rqstp, void *UNUSED(argp), mountlist *res)
 {
 	struct sockaddr_in *addr = nfs_getrpccaller_in(rqstp->rq_xprt);
 
@@ -221,7 +222,7 @@ mount_dump_1_svc(struct svc_req *rqstp, void *argp, mountlist *res)
 }
 
 bool_t
-mount_umnt_1_svc(struct svc_req *rqstp, dirpath *argp, void *resp)
+mount_umnt_1_svc(struct svc_req *rqstp, dirpath *argp, void *UNUSED(resp))
 {
 	struct sockaddr_in *sin = nfs_getrpccaller_in(rqstp->rq_xprt);
 	nfs_export	*exp;
@@ -245,7 +246,8 @@ mount_umnt_1_svc(struct svc_req *rqstp, dirpath *argp, void *resp)
 }
 
 bool_t
-mount_umntall_1_svc(struct svc_req *rqstp, void *argp, void *resp)
+mount_umntall_1_svc(struct svc_req *rqstp, void *UNUSED(argp), 
+	void *UNUSED(resp))
 {
 	/* Reload /etc/xtab if necessary */
 	auth_reload();
@@ -255,7 +257,7 @@ mount_umntall_1_svc(struct svc_req *rqstp, void *argp, void *resp)
 }
 
 bool_t
-mount_export_1_svc(struct svc_req *rqstp, void *argp, exports *resp)
+mount_export_1_svc(struct svc_req *rqstp, void *UNUSED(argp), exports *resp)
 {
 	struct sockaddr_in *addr = nfs_getrpccaller_in(rqstp->rq_xprt);
 
@@ -266,7 +268,7 @@ mount_export_1_svc(struct svc_req *rqstp, void *argp, exports *resp)
 }
 
 bool_t
-mount_exportall_1_svc(struct svc_req *rqstp, void *argp, exports *resp)
+mount_exportall_1_svc(struct svc_req *rqstp, void *UNUSED(argp), exports *resp)
 {
 	struct sockaddr_in *addr = nfs_getrpccaller_in(rqstp->rq_xprt);
 
-- 
1.7.2


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

* [PATCH 24/24] Remove warnings from nfsctl.c
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (22 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 23/24] Removed warnings from mountd.c Steve Dickson
@ 2010-08-04 15:12 ` Steve Dickson
  2010-08-09 14:00 ` [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-04 15:12 UTC (permalink / raw)
  To: Linux NFS Mailing list

nfsctl.c: In function 'expsetup':
nfsctl.c:112: warning: signed and unsigned type in conditional expression

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/export/nfsctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/support/export/nfsctl.c b/support/export/nfsctl.c
index 3b9876a..f89c644 100644
--- a/support/export/nfsctl.c
+++ b/support/export/nfsctl.c
@@ -109,7 +109,7 @@ expsetup(struct nfsctl_export *exparg, nfs_export *exp, int unexport)
 	str_tolower(exparg->ex_client);
 	exparg->ex_flags    = exp->m_export.e_flags;
 	exparg->ex_dev      = (!unexport && (exp->m_export.e_flags & NFSEXP_FSID)) ?
-				exp->m_export.e_fsid : stb.st_dev;
+			(__nfsd_dev_t)exp->m_export.e_fsid : stb.st_dev;
 	exparg->ex_ino      = stb.st_ino;
 	exparg->ex_anon_uid = exp->m_export.e_anonuid;
 	exparg->ex_anon_gid = exp->m_export.e_anongid;
-- 
1.7.2


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

* Re: [PATCH 00/24] Turn on the -Wextra compile flag (Take 2)
  2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
                   ` (23 preceding siblings ...)
  2010-08-04 15:12 ` [PATCH 24/24] Remove warnings from nfsctl.c Steve Dickson
@ 2010-08-09 14:00 ` Steve Dickson
  24 siblings, 0 replies; 26+ messages in thread
From: Steve Dickson @ 2010-08-09 14:00 UTC (permalink / raw)
  To: Steve Dickson; +Cc: Linux NFS Mailing list



On 08/04/2010 11:11 AM, Steve Dickson wrote:
> To catch potential during compile time, the -Wextra compile flag
> was added to the CFLAGS. The raise the bar like this, with regard to
> warnings, will keep the code cleaner in the long run.
> 
> 
> Steve Dickson (24):
>   Enable extra compile warnings (-Wextra) by default.
>   Removed warnings from rpcdispatch.c
>   Remove warnings from svc_socket.c
>   emove warnings from cacheio.c
>   Remove warnings from nfs_mntent.c
>   Removed warnings from conffile.c
>   Removed warnings from fsloc.c
>   Removed warnings from cache.c
>   Removed warnings from nfssvc.c
>   Removed warnings from nfsstat.c
>   Removed warnings from atomicio.c
>   Removed warnings from gssd.c
>   Removed warnings from gssd_main_loop.c
>   Removed warnings from krb5_util.c
>   Removed warnings from gssd_proc.c
>   Removed warnings from svcgssd.c
>   Removed warnings from nfsmount.c
>   Removed warnings from nfs4mount.c
>   Removed warnings from network.c
>   Removed warnings from svcgssd_proc.c
>   Removed warnings from configfile.c
>   Removed warnings from idmapd.c
>   Removed warnings from mountd.c
>   Remove warnings from nfsctl.c
> 
>  configure.ac                |    2 +-
>  support/export/nfsctl.c     |    2 +-
>  support/include/nfslib.h    |    7 +++++--
>  support/nfs/cacheio.c       |    2 +-
>  support/nfs/conffile.c      |    8 ++++----
>  support/nfs/nfs_mntent.c    |    2 +-
>  support/nfs/rpcdispatch.c   |    4 ++--
>  support/nfs/rpcmisc.c       |    2 +-
>  support/nfs/svc_socket.c    |    6 +++---
>  utils/gssd/gssd.c           |    2 +-
>  utils/gssd/gssd_main_loop.c |    2 ++
>  utils/gssd/gssd_proc.c      |    8 ++++----
>  utils/gssd/krb5_util.c      |   29 +++++++++++++++++++++--------
>  utils/gssd/krb5_util.h      |    2 +-
>  utils/gssd/svcgssd.c        |    2 +-
>  utils/gssd/svcgssd_proc.c   |   12 +++---------
>  utils/idmapd/atomicio.c     |    3 ++-
>  utils/idmapd/idmapd.c       |   36 ++++++++++++++++++++++++++----------
>  utils/mount/configfile.c    |    6 ++++--
>  utils/mount/network.c       |    3 ++-
>  utils/mount/nfs4mount.c     |    2 +-
>  utils/mount/nfsmount.c      |    8 ++++++--
>  utils/mountd/cache.c        |   20 ++++++++++----------
>  utils/mountd/fsloc.c        |    2 +-
>  utils/mountd/fsloc.h        |    2 +-
>  utils/mountd/mountd.c       |   14 ++++++++------
>  utils/nfsd/nfssvc.c         |    6 +++---
>  utils/nfsstat/nfsstat.c     |    6 +++---
>  28 files changed, 119 insertions(+), 81 deletions(-)
> 
Committed...

steved.

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

end of thread, other threads:[~2010-08-09 14:00 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-04 15:11 [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson
2010-08-04 15:11 ` [PATCH 01/24] Enable extra compile warnings (-Wextra) by default Steve Dickson
2010-08-04 15:11 ` [PATCH 02/24] Removed warnings from rpcdispatch.c Steve Dickson
2010-08-04 15:11 ` [PATCH 03/24] Remove warnings from svc_socket.c Steve Dickson
2010-08-04 15:12 ` [PATCH 04/24] emove warnings from cacheio.c Steve Dickson
2010-08-04 15:12 ` [PATCH 05/24] Remove warnings from nfs_mntent.c Steve Dickson
2010-08-04 15:12 ` [PATCH 06/24] Removed warnings from conffile.c Steve Dickson
2010-08-04 15:12 ` [PATCH 07/24] Removed warnings from fsloc.c Steve Dickson
2010-08-04 15:12 ` [PATCH 08/24] Removed warnings from cache.c Steve Dickson
2010-08-04 15:12 ` [PATCH 09/24] Removed warnings from nfssvc.c Steve Dickson
2010-08-04 15:12 ` [PATCH 10/24] Removed warnings from nfsstat.c Steve Dickson
2010-08-04 15:12 ` [PATCH 11/24] Removed warnings from atomicio.c Steve Dickson
2010-08-04 15:12 ` [PATCH 12/24] Removed warnings from gssd.c Steve Dickson
2010-08-04 15:12 ` [PATCH 13/24] Removed warnings from gssd_main_loop.c Steve Dickson
2010-08-04 15:12 ` [PATCH 14/24] Removed warnings from krb5_util.c Steve Dickson
2010-08-04 15:12 ` [PATCH 15/24] Removed warnings from gssd_proc.c Steve Dickson
2010-08-04 15:12 ` [PATCH 16/24] Removed warnings from svcgssd.c Steve Dickson
2010-08-04 15:12 ` [PATCH 17/24] Removed warnings from nfsmount.c Steve Dickson
2010-08-04 15:12 ` [PATCH 18/24] Removed warnings from nfs4mount.c Steve Dickson
2010-08-04 15:12 ` [PATCH 19/24] Removed warnings from network.c Steve Dickson
2010-08-04 15:12 ` [PATCH 20/24] Removed warnings from svcgssd_proc.c Steve Dickson
2010-08-04 15:12 ` [PATCH 21/24] Removed warnings from configfile.c Steve Dickson
2010-08-04 15:12 ` [PATCH 22/24] Removed warnings from idmapd.c Steve Dickson
2010-08-04 15:12 ` [PATCH 23/24] Removed warnings from mountd.c Steve Dickson
2010-08-04 15:12 ` [PATCH 24/24] Remove warnings from nfsctl.c Steve Dickson
2010-08-09 14:00 ` [PATCH 00/24] Turn on the -Wextra compile flag (Take 2) Steve Dickson

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.