IB/mlx5, ib_post_send(), IB_WR_REG_SIG_MR: Do not modify the 'wr' argument
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 18 Jul 2018 16:25:15 +0000 (09:25 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 02:00:20 +0000 (20:00 -0600)
commit7bb1fafc2f163ad03a2007295bb2f57cfdbfb630
tree0d46d26e6e6a7a24225120811c83c6b8b5a66d28
parentf696bf6d64b195b83ca1bdb7cd33c999c9dcf514
IB/mlx5, ib_post_send(), IB_WR_REG_SIG_MR: Do not modify the 'wr' argument

Since the next patch will constify the wr pointer, do not modify the data
that pointer points at.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Acked-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c