From patchwork Fri Nov 19 16:36:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 340441 X-Patchwork-Delegate: Trond.Myklebust@netapp.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAJGaEl1015972 for ; Fri, 19 Nov 2010 16:36:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753101Ab0KSQgN (ORCPT ); Fri, 19 Nov 2010 11:36:13 -0500 Received: from mail-gw0-f46.google.com ([74.125.83.46]:54641 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752129Ab0KSQgM (ORCPT ); Fri, 19 Nov 2010 11:36:12 -0500 Received: by gwb20 with SMTP id 20so59737gwb.19 for ; Fri, 19 Nov 2010 08:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:subject:to:cc :date:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=IYuNuY4VE90GopBPe05rBOf35IyQXHT8F05oqwZDy9Q=; b=P1gt5rzqqT5jC13IXrmp785u5E5VZYUeN2ZJn1B1GLxVT45qZyZ6RWRqg6rGludhy7 rU9NJx6R0L7pHyfIaZk+o+H2FQmAgbNPw2gNWm7ykCYlAjAK+gNYfvUdl52amwc+PPFW ZBznClAjHwCa0g99jZomsJ5crIoBjCpZGzW6o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:subject:to:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; b=nbSgY0UStMxmn9K4Lc3vWFyPhabB0ZlTyVVcuihYsUcW+S+B/HyrIsvYtpvE56lM0h fznN7oL4Y8kQ7MfgKXhm98hBdhuAiluwJ1NSQSCY0zz1buUw+0eP8AJNQgoI0cSdV9c/ 8kQaftquFqg+tKyBg6T+wyuVy6JwrT9Bm+/FM= Received: by 10.150.201.18 with SMTP id y18mr3757794ybf.323.1290184572106; Fri, 19 Nov 2010 08:36:12 -0800 (PST) Received: from matisse.1015granger.net (adsl-99-26-161-222.dsl.sfldmi.sbcglobal.net [99.26.161.222]) by mx.google.com with ESMTPS id q5sm2449300ybe.18.2010.11.19.08.36.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Nov 2010 08:36:10 -0800 (PST) From: Chuck Lever Subject: [PATCH] SUNRPC: fix synopsis of rpcproc_encode_null() To: trond.myklebust@netapp.com Cc: linux-nfs@vger.kernel.org Date: Fri, 19 Nov 2010 11:36:08 -0500 Message-ID: <20101119163415.2262.76340.stgit@matisse.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 19 Nov 2010 16:36:14 +0000 (UTC) diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 85f93c9..78c18fe 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -1770,9 +1770,8 @@ out_overflow: goto out_garbage; } -static int rpcproc_encode_null(void *rqstp, struct xdr_stream *xdr, void *obj) +static void rpcproc_encode_null(void *rqstp, struct xdr_stream *xdr, void *obj) { - return 0; } static int rpcproc_decode_null(void *rqstp, struct xdr_stream *xdr, void *obj)