]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitf8d0e60f1056687826abc1eded98f0ea067dfc4c
tree35d68c58db0632c3aacd16d507cc30ce6d0eabf7
parent5a5f1c2c2cbb6ddef637abb7c7e7cab20b9cc933
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