sunrpc: fix decoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 13:00:29 +0000 (15:00 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:54 +0000 (15:57 -0400)
commit555966beff70ed612728521f0c12298a5127b7e5
tree37585e7d2dba35a5dc654f74816388493aaaf306
parent993328e2b31fedc35276a4828039ad7af6d519cb
sunrpc: fix decoder callback prototypes

Declare the p_decode callbacks with the proper prototype instead of
casting to kxdrdproc_t and losing all type safety.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
net/sunrpc/rpcb_clnt.c