All of
 help / color / mirror / Atom feed
From: Chuck Lever <>
Subject: [PATCH] SUNRPC: fix synopsis of rpcproc_encode_null()
Date: Fri, 19 Nov 2010 11:36:08 -0500	[thread overview]
Message-ID: <> (raw)

Clean up.

Missed one instance of an encoder returning int instead of void.

Signed-off-by: Chuck Lever <>

Hi -

Build-tested only.  This can be squashed into [PATCH 11/12].

 net/sunrpc/clnt.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

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)

                 reply	other threads:[~2010-11-19 16:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: [PATCH] SUNRPC: fix synopsis of rpcproc_encode_null()' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.