From patchwork Fri Jul 27 18:49:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 1250511 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 861323FC5A for ; Fri, 27 Jul 2012 18:50:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752237Ab2G0Sug (ORCPT ); Fri, 27 Jul 2012 14:50:36 -0400 Received: from oproxy10-pub.bluehost.com ([67.222.39.61]:34502 "HELO oproxy10-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752279Ab2G0Suc (ORCPT ); Fri, 27 Jul 2012 14:50:32 -0400 Received: (qmail 25718 invoked by uid 0); 27 Jul 2012 18:50:31 -0000 Received: from unknown (HELO box742.bluehost.com) (66.147.244.242) by oproxy10.bluehost.com with SMTP; 27 Jul 2012 18:50:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenotime.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=QWr7KcsFXyw+n6kWOUcGMJbmCFKHjBH7ekT+dvloiuI=; b=e7p7yuCb9APnI29SRXPQnDZCyCKud+3iXiQ8aBVM+ER/mLytxzqSs46m62p78mSBWYs/7VSliqQpQe7rfrcOscIv21P/f0sR5i+VxT0ug+Mw4XApqxzUtdqTO8MzLRMw; Received: from [50.53.38.135] (port=38446 helo=[192.168.1.2]) by box742.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1SupcN-0001aO-45; Fri, 27 Jul 2012 12:50:31 -0600 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> X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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