[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5012E2B6.5010009@xenotime.net>
Date: Fri, 27 Jul 2012 11:49:26 -0700
From: Randy Dunlap <rdunlap@...otime.net>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
linux-nfs@...r.kernel.org,
Trond Myklebust <Trond.Myklebust@...app.com>
Subject: [PATCH -next] nfs: fix stub return type warnings
From: Randy Dunlap <rdunlap@...otime.net>
Fix numerous repeated warnings by making the stub function
void instead of non-void:
fs/nfs/nfs4_fs.h: In function 'nfs4_unregister_sysctl':
fs/nfs/nfs4_fs.h:385:1: warning: no return statement in function returning non-void
Signed-off-by: Randy Dunlap <rdunlap@...otime.net>
Cc: Trond Myklebust <Trond.Myklebust@...app.com>
---
fs/nfs/nfs4_fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20120727.orig/fs/nfs/nfs4_fs.h
+++ linux-next-20120727/fs/nfs/nfs4_fs.h
@@ -380,7 +380,7 @@ static inline int nfs4_register_sysctl(v
return 0;
}
-static inline int nfs4_unregister_sysctl(void)
+static inline void nfs4_unregister_sysctl(void)
{
}
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists