From patchwork Thu Jun 16 13:57:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102169 Delivered-To: patch@linaro.org Received: by 10.140.28.4 with SMTP id 4csp275173qgy; Thu, 16 Jun 2016 06:56:15 -0700 (PDT) X-Received: by 10.36.23.206 with SMTP id 197mr7908768ith.15.1466085375631; Thu, 16 Jun 2016 06:56:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ae1si20103606pad.162.2016.06.16.06.56.14; Thu, 16 Jun 2016 06:56:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755075AbcFPN4G (ORCPT + 30 others); Thu, 16 Jun 2016 09:56:06 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:54889 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754709AbcFPN4B (ORCPT ); Thu, 16 Jun 2016 09:56:01 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue002) with ESMTPA (Nemesis) id 0MFljh-1bAUpY0BbJ-00EdHZ; Thu, 16 Jun 2016 15:55:45 +0200 From: Arnd Bergmann To: netdev@vger.kernel.org Cc: Arnd Bergmann , "J. Bruce Fields" , Jeff Layton , Trond Myklebust , Anna Schumaker , "David S. Miller" , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/8] sunrpc: fix old-style declaration Date: Thu, 16 Jun 2016 15:57:13 +0200 Message-Id: <20160616135726.3313647-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160616135020.3154461-1-arnd@arndb.de> References: <20160616135020.3154461-1-arnd@arndb.de> X-Provags-ID: V03:K0:FKU5mbjhxdW/y/p40OMUJf35tK3Etc9w6aiFRhZWm8nQdWq5CI6 TgxsdsUCSTS9xlCLEx2THy4NWMs7m7YQqzGxC9vsJntA2oAq/nSC4WG+lgCpi1p6hqVKksK AMc04E8CuEO4YEhj5PC7QnJ7IqGs9FpGcOBaN0QNR/vwB3ggRQTKoTUKHc9QvMbDJ701Wb4 61tcOc9oCXqSEas0+A8zg== X-UI-Out-Filterresults: notjunk:1; V01:K0:2fo8DyvIiXg=:azTgmrRTkGO/07oXAhUV3w eKUhJvKWJM347Y86ZYP01RqYLwAVWt4MnT/KzGeO0CRBQFYT1emIEHap9m5sgThmi0++YXAyc Z8VOJUTXN1aS4weH92weCLaPpsKKRPwAs5u6PGwZMaYUkRKao3crkOIB0mqnIi2GJlVgG06qD 72arXH/rw8nsRbvldrqPaBVkpQp7MwT12iXJiMkPzv9cpebldjcIKCl4BxgFjFDC7KjgavIew iTjb2KF2fUdLbsk5YzGItBTCNbiFb5uq2STV9Hm9nVAI7yM19yy5FNFKZaWlBKKvgGNQlLbj2 B8lOp+pC4sqFq13UbpIDthNjyG1gRk7GJjLu15GtsctgzLMh2E1c3d8DMVEJzX2BLIqEwi1VP HrViFvCJL1g6gatRK9J1hweZ9VVUYzbX4rtEwsnClj6O6Oyb/Q38ytw6WauvYrWeLs3sUq1Mt SffotdraHQjaR4IwIzu8lmgkklSo0clHKcp6x42/sIgkU15tj6uOj5/lhQSeLpfh4L2TVOWU3 2MqXtaH+yEXYdbPXCSZMS684vMH+VA7z4YVx6JUIke9C+Fc/ZFkYBRP+KFFk9Kh6GJQZoH3Cm g10xEKGxaYN933vaNj4BD4CMFXgPMVBFfpLtsHgQKLloudNqa0GcaJKRjwtEJROD8o+QthNIP TIqu6L6hsF9fWNa/Yet1QjQQiMEnt7sfdlELyZ63l4NKZ9/hSq3fTBxbFi1V4SNrzhMw= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Modern C standards expect the 'static' keyword to come before the return type in a declaration, and we get a warning for this with "make W=1": net/sunrpc/clnt.c:2580:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Arnd Bergmann --- net/sunrpc/clnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.0 diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 2808d550d273..cb49898a5a58 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -2577,7 +2577,7 @@ static void rpc_cb_add_xprt_release(void *calldata) kfree(data); } -const static struct rpc_call_ops rpc_cb_add_xprt_call_ops = { +static const struct rpc_call_ops rpc_cb_add_xprt_call_ops = { .rpc_call_done = rpc_cb_add_xprt_done, .rpc_release = rpc_cb_add_xprt_release, };