]> 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)
commit11bbda3aab0541c0f834f9849d76e79aa8225b75
tree6c23baecfc070fd652a47c4f1bc3ee59d6272dc3
parente2220688816b98f30809a82d8dd32f0226ca5b9a
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