[PATCH] RDMA/nes: constify nes_cm_ops structure

2015-11-28 Thread Julia Lawall
The nes_cm_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/infiniband/hw/nes/nes_cm.c |2 +- drivers/infiniband/hw/nes/nes_cm.h |2 +- 2 files changed, 2 insertions(+), 2

[PATCH] IB/iser: constify iser_reg_ops structure

2015-11-28 Thread Julia Lawall
The iser_reg_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/infiniband/ulp/iser/iscsi_iser.h |2 +- drivers/infiniband/ulp/iser/iser_memory.c |4 ++-- 2 files changed, 3