]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Cleanup - constify a number of xdr_buf helpers
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 9 Dec 2020 03:56:18 +0000 (22:56 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:07 +0000 (06:51 -0500)
commitc02a1cd5ee1c37ba7c76f039f606fb32be81a0d0
tree35d68c58db0632c3aacd16d507cc30ce6d0eabf7
parent092ca02c35beee3c725f36c7ac5cb2c63272ee52
SUNRPC: Cleanup - constify a number of xdr_buf helpers

There are a number of xdr helpers for struct xdr_buf that do not change
the structure itself. Mark those as taking const pointers for
documentation purposes.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xdr.h
net/sunrpc/xdr.c