]> 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)
commit817ead270848e00588a5b63901435f6deabab7aa
tree35d68c58db0632c3aacd16d507cc30ce6d0eabf7
parent6f0bf6e5f02f01395d5e6b7e8a2a521e873576ec
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