]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sunrpc: fix decoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 13:00:29 +0000 (15:00 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:12 +0000 (17:42 +0200)
commit605d712fa89f16ed5266897ecda01dd1a74b8aa8
tree303ebc25a03952ea897160e5aa7cd73e26d78a45
parent73c8dc133afb0cbe72a9234894ea72c2a0e71a73
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