From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751832Ab2G0Sug (ORCPT ); Fri, 27 Jul 2012 14:50:36 -0400 Received: from oproxy10-pub.bluehost.com ([67.222.39.61]:38569 "HELO oproxy10-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752286Ab2G0Suc (ORCPT ); Fri, 27 Jul 2012 14:50:32 -0400 Message-ID: <5012E2B6.5010009@xenotime.net> Date: Fri, 27 Jul 2012 11:49:26 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , linux-nfs@vger.kernel.org, Trond Myklebust Subject: [PATCH -next] nfs: fix stub return type warnings References: <20120727142126.15a52335cda4c39d5c120c49@canb.auug.org.au> In-Reply-To: <20120727142126.15a52335cda4c39d5c120c49@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap 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 Cc: Trond Myklebust --- 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