]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sunrpc: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 07:59:45 +0000 (09:59 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:08 +0000 (17:42 +0200)
commit7d55f7febab6af865630ccb3a0fac9a144c459df
tree8be820c894046de1a474ca6cd565f7ace399b759
parentc512f36b581862df20acef050c3e1a875166bd6f
sunrpc: fix encoder callback prototypes

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

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