]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:30 +0000 (08:43 +0100)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:54:31 +0000 (10:54 -0500)
commit2ed5b04c885381a0e527434650a880d042822ebb
tree6c23baecfc070fd652a47c4f1bc3ee59d6272dc3
parent8373345c2b358a9b973107a59d05d9c21b5fc50a
SUNRPC: constify copied structure

The empty_iov structure is only copied into another structure,
so make it const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xdr.c