IB/iser: constify iser_reg_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 28 Nov 2015 15:52:04 +0000 (16:52 +0100)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Dec 2015 05:17:33 +0000 (00:17 -0500)
commit2392a4cdcb8dfd9d04ab0192919a8c7e3f9e7b3e
tree868dad885e9f16b81d95bf6dba30df1be53cc606
parentc419874c443a21ab75708bf0ddb74f2b0cf3c545
IB/iser: constify iser_reg_ops structure

The iser_reg_ops structures are never modified, so declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_memory.c