]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66ba82bf7313c0f97b9c8726ae12126134ae8dd8
tree37585e7d2dba35a5dc654f74816388493aaaf306
parent63458145818e6ebf9a991fea77652c28cd4ae813
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